Setup & Integrations
Observability
Grafana
the grafana cloud integration can be configured via grafana cloud's and resolve's uis create a service account token to access your grafana environment a service account token is needed if you don’t already have a service account, please create one https //grafana com/docs/grafana/latest/administration/service accounts/#create a service account in grafana" there are two options for creating your service account token option 1 create a token via the ui \[recommended] official documentation https //grafana com/docs/grafana/latest/administration/service accounts/#add a token to a service account in grafana option 2 create a token via the api if you are running grafana enterprise, for some endpoints you might need to have specific permissions refer to https //grafana com/docs/grafana/latest/administration/roles and permissions/access control/custom role actions scopes/ for more information for grafana cloud instances, you can use a bearer token to authenticate create a service account through the api official documentation https //grafana com/docs/grafana/latest/developers/http api/serviceaccount/#create service account run the following command please ensure that you replace the following properties grafana instance your grafana endpoint auth api key your authorization token for accessing the api (if applicable) create service account api curl x post http //\<grafana instance>/api/serviceaccounts \\ h "content type application/json" \\ h "authorization bearer \<auth api key>" \\ d '{"name" "resolve service account", "role" "viewer", "isdisabled" false}' the response will include the new service account id please take a note of it create service account api response { "id" 1, "name" "resolve service account", "isdisabled" false, } create a token for your service account via the api official documentation https //grafana com/docs/grafana/latest/developers/http api/serviceaccount/#create service account tokens run the following command please ensure that you replace the following properties grafana instance your grafana endpoint id your service account id, for which a token will be created auth api key your authorization token for accessing the api (if applicable) curl x post http //\<grafana instance>/api/serviceaccounts/\<id>/tokens \\ h "content type application/json" \\ h "authorization bearer \<auth api key>" \\ d '{"name" "resolve access key", "role" "viewer"}' the response will include the new api key securely store this key immediately, as it won't be displayed again token creation api response {"id" 1,"name" "resolve access key","key" "eyjrij "} configure the grafana integration in the ui sign in to resolve ai and open the grafana integration page https //app0 resolve ai/integrations/grafana/connect click add connection and set up a new integration token generated in the previous step url the endpoint for your grafana instance send alerts to resolve ai via webhook if you use grafana for alerts, use webhooks to send alert events to resolve ai sign in to resolve ai and open the grafana integration page https //app0 resolve ai/integrations/grafana/connect inside your grafana integration, scroll down and click edit scroll down to webhooks and click + icon to add a new webhook token enter a name and click save auto generated instructions will show in the ui, to guide you through the steps in grafana faq what grafana data sources can resolve connect to? resolve integrations include support for tempo, loki, prometheus, mimir, alert manager, elasticsearch, clickhouse, solarwinds and all supported plugins