Skip to main content

Overview

This guide walks you through connecting Grafana to Opriven. Opriven 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 Opriven

Go to the Grafana integration setup in the Opriven 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., Opriven)
  4. Under Permissions, enable all read permissions
  5. Click Create Token
Copy the token. It is shown only once.
5

Submit credentials to Opriven

Provide the following in the Opriven UI:

Permissions and Access

Opriven 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.