Create a Grafana service account token
Astrolabe reads Grafana with a service account token. The Viewer role is enough: Astrolabe only reads your alerts and dashboards, it never changes anything in Grafana.
You create the token once, in Grafana.
Create a service account for Astrolabe, for example astrolabe. A service account does not belong to a
person, so the token keeps working when someone leaves.
π Create the tokenβ
-
In Grafana, open the menu, then Administration, then Users and access, then Service accounts.
-
Click Add service account.
-
In Display name, enter
astrolabe. In Role, chooseViewer. -
Click Create.
-
Click Add service account token, then Generate token.
-
Copy the token now. Grafana never shows it again.
These steps happen in Grafana. They were not checked on a live instance.
β That's it!
Next: Add the Grafana integration.