The health page
New in v0.16.0. Empty until tiles are configured.
The console has four tabs since v0.17.0 - today, planning, agents & PRs and incidents - and the rest under more: health, status, search and account. /health is the summary of the system: the handful of numbers worth a glance, each with a level and a link to the dashboard that explains it.
It is not a second Grafana. A number that needs a chart to be understood is a link; a number that is not already a metric does not belong here.
How a number is read
Each tile is one PromQL instant query, sent through grafana-mcp's query_prometheus — the same tool and the same token the investigations use, so nothing new reaches Prometheus. The page reads all tiles once a minute at most (health.cacheFor), one after the other; read again asks at once.
A query should answer one series. With several, the first is shown and the tile says how many there were. A query that fails shows grafana-mcp's or Prometheus's own words in place of the number.
Configuration
health:
# Empty: grafanaMcp.datasourceUids.prometheus
datasourceUid: ""
cacheFor: "00:01:00"
tiles:
- title: Matching queue lag
group: pipeline # a heading the tile is shown under
query: max(cait_matching_queue_lag_seconds)
unit: s
decimals: 0
warnAbove: 600 # also critAbove, warnBelow, critBelow
critAbove: 3600
link: https://grafana.example.com/d/abc/matching
description: Oldest unscored content, in seconds.The level is the worst threshold crossed: critical, then warning, else ok. No answer, or NaN, is "no answer" and never ok. A tile without a title or a query, or with a link that is not an absolute http(s) address, stops the agent at startup with one sentence per problem.