Data Destinations Grafana Cloud Integration
Prerequisites
- Have an active Grafana Cloud account.
Pulling your Grafana Cloud API Key or Access Policy / Token
Grafana Cloud migrated from API Keys to Access Policies. It depends on your Grafana Cloud version the information that you need to share with us.
Only Grafana administrators can create or delete API Keys and Access Policies. See Grafana Cloud roles and permissions for more information.
Access Policy/Token
- Log into your Grafana Cloud account to access the Cloud Portal.
- Select the organization that you want to add an Access Policy Token to, by selecting from the dropdown in top left.
- Click Access Policies from the SECURITY section on the left.
- Click Create Access Policy.
- In Display Name and Name, enter a name for your Access Policy.
- In Realms, choose the organization in which you want the metrics.
- In Scopes, select
write
for Metrics, Logs and Traces. (this only gives permission to send metric, log and trace data to Grafana Cloud). - In Add Scope, choose
api-keys-metrics-publiser
. - Click Create when finished.
- Click Add token to generate it associated with the access policy.
- In Token Name, enter a name for the token.
- In Expiration Date, select
No expiry
.
API Key
- Log into your Grafana Cloud account to access the Cloud Portal.
- Select the organization that you want to add an API key to, by selecting from the dropdown in top left.
- Click API Keys from the SECURITY section on the left.
- Click +Add API Key.
- In API Key Name, enter a name for your API key.
- In Role, select
MetricsPublisher
(is only given permission to send metric, log, and trace data to Grafana Cloud). - Click Create API Key.
- A token is created and displayed. Copy the token and store it in a safe place, because it will not be displayed again.
- Share the token with an Embrace onboarding specialist.
- Click Close when finished.
Pulling your Instance ID and Zone
- Log into your Grafana Cloud account to access the Cloud Portal.
- Select the organization you want the instance ID and zone, by selecting from the dropdown in the top left.
- Click Details from the Grafana stack and copy the instance ID and zone.
- Share the instance ID and zone with an Embrace onboarding specialist.