Skip to main content

Overview

This guide walks you through connecting Grafana to Antimetal. Antimetal queries Grafana and the data sources wired into it, including Prometheus, Loki, Tempo, and Pyroscope, so you do not need a separate connection for each data source.

Set up in Antimetal

Go to the Grafana integration setup in the Antimetal dashboard.

Setup

Choose the tab that matches your Grafana deployment.

Prerequisites

  • A Grafana Cloud account with access to Loki, Tempo, or Prometheus
  • Permissions to view data sources and create access policies
1

Open the Grafana Cloud Portal

Go to grafana.com/profile/org and select your organization.
2

Access the data source instance

From the left sidebar, go to Connections > Data Sources and click on your Loki, Tempo, or Prometheus instance.
3

Copy your URL and username

  • Copy the URL under Connection (e.g., https://logs-prod-036.grafana.net)
  • Copy the User under Authentication (a numeric ID, e.g., 1264142)
4

Create an access policy token

  1. Scroll down to the Access Policies section
  2. Click Create Access Policy
  3. Enter a name (e.g., Antimetal)
  4. Under Permissions, enable all read permissions
  5. Click Create Token
Copy the token. It is shown only once.
5

Submit credentials to Antimetal

Provide the following in the Antimetal UI:
FieldValue
URLThe full URL you copied
UsernameThe numeric user ID
PasswordThe access policy token

Permissions and Access

Antimetal uses read-only access: a Viewer-scoped service account token for self-hosted instances, or a read-only access policy token for Grafana Cloud. No write operations are performed.