Skip to content

Grafana, Prometheus and Loki ​

Built Agents can read live from your monitoring: alerts, dashboards, metrics and logs. This page is about those reads. For Octryx AI's own metrics, see Metrics for Prometheus.

Set it up ​

Admin › Connections › Add connection, with one connection per instance:

TypeFields
GrafanaGrafana URL and an API token
Prometheusthe URL; no sign-in
Lokithe URL; no sign-in

Bind each connection to an instance label, for example prod-eu. An agent's call names the instance; a call without one is refused with the list of candidates, so an agent never reads the wrong environment by accident.

The Test button is not offered for these types yet.

What agents can do ​

ToolWhat it doesKind
read Grafana alert, list Grafana alertsalerts and their stateread
get dashboard JSONa dashboard's definitionread
render panel as imagea panel as a picture, for the answerread
create snapshota Grafana snapshot to sharewrite, needs confirmation
query Prometheusa PromQL query over at most 24 hours and at most 1,000 pointsread
query Lokia LogQL queryread

These reads are what the Incident / alert analysis workflow (shipped, but off on a fresh installation; a platform admin switches it on in Agents › Workflows) uses to collect evidence before it proposes a hypothesis; the hypothesis must cite its evidence.

Octryx AI v0.0.1-alpha · Apache 2.0 · octryx.ai