メインコンテンツへスキップ

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

Required credentials

FieldDescriptionWhere to find it
Organization SlugYour Grafana org slug from the URL (e.g. my-org from https://grafana.com/orgs/my-org)Grafana.com → your organization URL
Access Policy TokenToken with billing-metrics:read and orgs:read scopesGrafana.comAccess Policies

Create an access policy token

  1. Sign in to grafana.com.

  2. Navigate to your organization → Access Policies.

  3. Create a new access policy with the following scopes:

    • billing-metrics:read
    • orgs:read
  4. Attach a token to the access policy and copy it.

    注意

    The token is only shown once. Make sure to copy it before closing the dialog.

Connect your Grafana Cloud account

  1. Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrationsAssets.

  2. Select Grafana Cloud from the left-hand menu, and then select Connect new account.

  3. Enter your Organization Slug and Access Policy Token.

  4. Select Test connection to verify DoiT can access your Grafana billing data.

  5. 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 dimensionGrafana valueExample
ProviderGrafana CloudGrafana Cloud
Billing AccountOrganization slugmy-org
Project/Account IDStack slugmy-org-prod
ServiceService namemetrics, logs, traces
SKUUsage categoryactive_series, log_volume

In addition to standard dimensions, the following Grafana-specific labels are available:

LabelDescription
Account IDThe Grafana stack slug
ServiceGrafana service (metrics, logs, traces, etc.)
CategoryUsage category within the service
OrganizationThe Grafana organization slug

Delete your Grafana Cloud connection

  1. Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrationsAssets.

  2. Select Grafana Cloud from the left-hand menu.

  3. Select the three dots menu () at the rightmost end of the account you want to remove and select Delete.

  4. Select Delete to confirm.