Connect Grafana Cloud
Grafana Cloud is a fully managed observability platform for metrics, logs, and traces, built on Grafana, Prometheus, and Loki. The Grafana Cloud integration imports your billing and usage data into DoiT Cloud Intelligence so you can analyze Grafana costs in Cloud Analytics.
Prerequisitesโ
- A Grafana Cloud account with admin access.
- A DoiT account with the Billing Profiles Admin permission.
Required credentialsโ
| Field | Description | Where to find it |
|---|---|---|
| Organization Slug | Your Grafana org slug from the URL (e.g. my-org from https://grafana.com/orgs/my-org) | Grafana.com โ your organization URL |
| Access Policy Token | Token with billing-metrics:read and orgs:read scopes | Grafana.com โ Access Policies |
Create an access policy tokenโ
-
Sign in to grafana.com.
-
Navigate to your organization โ Access Policies.
-
Create a new access policy with the following scopes:
billing-metrics:readorgs:read
-
Attach a token to the access policy and copy it.
CautionThe token is only shown once. Make sure to copy it before closing the dialog.
Connect your Grafana Cloud accountโ
-
Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ Assets.
-
Select Grafana Cloud from the left-hand menu, and then select Connect new account.
-
Enter your Organization Slug and Access Policy Token.
-
Select Test connection to verify DoiT can access your Grafana billing data.
-
If the test is successful, select Save to complete the setup.
If the test fails or you need further assistance, please open an expert inquiry.
Upon initial connection, DoiT ingests your historical billing data. The import process can take a few hours. You'll receive an email when the data is available in Cloud Analytics.
Data refreshโ
DoiT refreshes your Grafana Cloud data daily. Data typically becomes available within 48 hours of being generated by Grafana.
Reporting dimensionsโ
Once connected, Grafana Cloud data maps to the following standard Cloud Analytics dimensions:
| Cloud Analytics dimension | Grafana value | Example |
|---|---|---|
| Provider | Grafana Cloud | Grafana Cloud |
| Billing Account | Organization slug | my-org |
| Project/Account ID | Stack slug | my-org-prod |
| Service | Service name | metrics, logs, traces |
| SKU | Usage category | active_series, log_volume |
In addition to standard dimensions, the following Grafana-specific labels are available:
| Label | Description |
|---|---|
| Account ID | The Grafana stack slug |
| Service | Grafana service (metrics, logs, traces, etc.) |
| Category | Usage category within the service |
| Organization | The Grafana organization slug |
Delete your Grafana Cloud connectionโ
-
Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ Assets.
-
Select Grafana Cloud from the left-hand menu.
-
Select the three dots menu (โฎ) at the rightmost end of the account you want to remove and select Delete.
-
Select Delete to confirm.