KubeGraf for Prometheus: Keep the Stack, Change the Question
KubeGraf auto-detects an existing Prometheus and queries it during investigations. It does not replace it, and you should not run our bundled metrics stack alongside it. What the integration does, what it costs, and the one mistake that doubles your scrape load.
Prometheus answers the question you asked. That is its design and its strength: you write the query, it returns the series. The gap it leaves is not a data gap — the evidence is almost always already in there — it is that at 3am somebody has to know which query to write, and that person is rarely the person holding the pager.
KubeGraf does not replace Prometheus and has no ambition to. It auto-detects the Prometheus you already run and queries it during an investigation, so the step that used to require knowing the right PromQL happens before a human is involved.
What the integration actually does
On install, KubeGraf looks for a metrics stack in the cluster. If you have Prometheus — or anything that speaks its API — it finds it and uses it. There is no exporter to configure and no second scrape path to reason about; the agent reads the series you are already collecting.
From there, metrics stop being a dashboard and become evidence attached to a specific conclusion. When the agent investigates a crashlooping workload, the memory series for that container over the window before the restart is part of the finding, rather than something you go and look up afterwards to confirm a hunch.
The mistake that costs you twice
The bundle exists for clusters with no metrics stack at all, and it is deliberately modest. Retention is bounded, and a retention policy nobody planned quietly becomes a storage problem. If you outgrow it, you have outgrown the bundle — run a real Prometheus and switch KubeGraf to it.
What this does not do
Being honest about the boundary is more useful than a feature list.
- It does not replace your alerting rules. If you have tuned Prometheus alerts over years, keep them. KubeGraf's agent reacts to cluster state directly rather than waiting for your alerts to fire, so the two run in parallel rather than one feeding the other.
- It does not move your metrics anywhere. The agent queries Prometheus in-cluster. Raw telemetry stays in your environment by default. When an AI step runs, only redacted evidence for the workloads involved goes to the KubeGraf AI gateway. We are not asking you to ship series to a per-gigabyte destination.
- It does not give you better dashboards. If your problem is that nobody can see the system, that is a Grafana problem and Grafana already solves it.
- It does not know about metrics you are not collecting. An investigation is only as good as the series available to it, and the agent will tell you when the evidence it wanted was not there.
What changes on a Tuesday
The practical difference shows up in the shape of the work rather than in a number we would like to quote at you. Before, an alert fires and a human opens Grafana, picks a dashboard, narrows a time range, and forms a hypothesis. After, the investigation arrives with the series already selected, the window already narrowed, and a proposed change attached — which still has to be approved by a person or a policy you set before anything changes.
The part worth checking in a trial is whether the evidence is readable. A correct conclusion you cannot follow is not usable by whoever is actually on call, who will not be the person who ran the evaluation.
How to set it up
- Confirm what you already run: kubectl get pods -A | grep -i prometheus. If that returns something, you are in the first case.
- When you add the cluster, choose the option that says you already have a metrics stack. Do not enable the bundle.
- Let the agent connect and check that it found the right endpoint. If you run multiple Prometheus instances, this is the moment to point it at the right one.
- Leave autonomy on monitor for the first week. You are evaluating the diagnosis, not the nerve.
- Take one past incident you already understand and read what the agent would have said about it.
kubectl get pods -A | grep -i prometheusFrequently asked questions
Does KubeGraf replace Prometheus?
No. It keeps your Prometheus and asks it questions while working an incident.
What happens if I run both metrics stacks?
You double the scrape load on the same targets without gaining any extra signal. Point KubeGraf at the Prometheus you already run instead.
Do I have to configure the Prometheus connection?
KubeGraf auto detects an existing Prometheus in the cluster. You confirm the target rather than wiring it up from scratch.
Can KubeGraf find a root cause from Prometheus data?
It queries your metrics as part of an investigation and cites what it used. The metric sits beside the log line and the event in the evidence for a cause.
Last updated . Try KubeGraf Freemium.