Docs menu

Docs

Connect Grafana

Codela checks every deploy against your Grafana data. It needs a read-only key, and setup takes a couple of minutes.

GrafanaBeta

What Codela reads

Request metrics from your Prometheus data source and error messages from Loki. It reads the minutes around each deploy, and once a week the last 24 hours for your production snapshot.

Create the key

  1. In Grafana, open Administration → Service accounts and add one with the Viewer role.
  2. Click Add token and copy it (it starts with glsa_).

Connect it

On usecodela.com/connect, step 2, choose Grafana and fill in:

FieldWhat to enter
Grafana URLe.g. https://your-stack.grafana.net.
Service account tokenThe glsa_… token.
Prometheus and Loki data source URLsOptional. Only if Codela can't find your data sources by itself.

Codela checks the key straight away, then lists your services so each repo can be matched to the right one.

Good to know

  • Grafana gives service-wide numbers, so Codela checks overall speed and errors; per-endpoint checks need one of the other tools.

Next

See how deploys are checked and how lessons reach your agents. Questions about your setup? Email us from the integrations page.