OpenMetadata and Grafana integration

Teams that run Grafana for operational dashboards want those dashboards, their owners and their data sources visible in the catalog. This page explains how the OpenMetadata Grafana connector works, what it needs, and how to run it given its beta status.

On this page

How to catalog Grafana dashboards in OpenMetadata with a service account token

The OpenMetadata Grafana connector reads dashboards, charts, owners, tags and lineage through the Grafana API, authenticated with a service account token, and it is in beta. Grafana dashboards often hold operational knowledge that the data catalog cannot see: which team owns a panel, which data sources feed it, and which on-call view people rely on during an incident. Connecting the two lets a catalog user find that dashboard from the table it queries, and lets a dashboard owner see the tags and glossary context attached to it. Treat the connector as a metadata feed, not as a supported production integration without testing in your own environment.

The connector catalogs what Grafana exposes through its API. It does not replace Grafana's own alerting rules, notification policies, folder permissions or team structure, and it does not change who can see or edit a dashboard. Those controls stay in Grafana and must be reviewed there. Before you start, confirm with your Grafana administrator which organization and folders the token can read, and confirm in the connector documentation which fields are imported in your OpenMetadata version. Also confirm how lineage is derived for your data sources, since a panel that queries a data source the catalog does not know about will not produce lineage on its own.

Create a dedicated service account in Grafana for the ingestion job, and generate its token with the permissions the connector needs. The connector documentation recommends the Admin role, so decide whether your organization accepts that for a read-only feed, and record the decision with the token owner and rotation date. Confirm that API access is enabled in your Grafana deployment and that the OpenMetadata ingestion host can reach the Grafana URL. Store the token in your secrets manager rather than in a connector configuration file checked into source control, and plan a rotation procedure before the first scheduled run.

What the Grafana integration needs before you start

The connector is simple to configure, but it depends on decisions made on both sides: which OpenMetadata release you run, which Grafana edition and database you operate, and how the ingestion runner reaches Grafana. Settle these first, because they determine whether the connector can run in production at all.

Confirm the OpenMetadata version

Connector documentation for Grafana is published on the v2.0.x path, so confirm the exact OpenMetadata server and ingestion versions your team runs before copying any configuration. Match the ingestion package to the server release, and check the 2.0 release notes for breaking changes such as the Python 3.12 requirement for custom ingestion images. A mismatch between server and ingestion versions is a common cause of failed runs that look like connector bugs.

Grafana connector docs

Check the Grafana production database

Grafana keeps its configuration in SQLite by default, but its installation docs say SQLite does not scale for production. Before connecting OpenMetadata, confirm your Grafana instance runs on MySQL 8.0 or later or PostgreSQL 12 or later, especially if you plan high availability. Ask the Grafana owner which database backs the instance, because a team running a test instance may not know it is still on SQLite.

Grafana install docs

Provision a service account token

The connector authenticates with a Grafana service account token that needs API access enabled and sufficient permissions to read dashboards, owners and tags. The connector docs recommend the Admin role, so decide with the Grafana owner whether that role is acceptable or whether a narrower role will still return the dashboards you need. Store the token in your secrets manager, name it for the OpenMetadata connector, and plan its rotation and expiry date.

Connector setup docs

Place the ingestion runner in Grafana's trust zone

Run the OpenMetadata ingestion job in the same network zone as Grafana, or on a path that reaches it without crossing an untrusted boundary. The runner holds an admin-level token and reads metadata about every dashboard in the instance, so treat it as a privileged component. Document where it runs, who can change its schedule or configuration, and whether its logs contain the token.

Map network paths and TLS

Map the route from the ingestion runner to the Grafana endpoint, including any load balancer, reverse proxy or firewall rule in between. Serve Grafana over TLS and confirm the runner trusts the certificate chain, including any internal certificate authority, before configuring the connector. Ask the network team to allow only the required port from the runner, since a failed certificate check often looks like an authentication error in the connector logs.

Confirm the Grafana edition and endpoint

Identify whether you operate open-source Grafana, Grafana Enterprise or Grafana Cloud, and record the exact URL the connector will call. Edition affects which authentication options exist, since SAML and SCIM are limited to Enterprise and Cloud, and it affects how your team receives upgrades. Ask the Grafana owner which version runs in production, because the connector should be tested against the version your organization actually uses.

Grafana auth docs

Configuring the connector in the order that surfaces problems early

This sequence confirms the connector's documented scope and beta status first, then builds access in small steps so permission, token and connectivity problems appear before any metadata is written to the catalog. It ends with a single-folder ingestion that you can check line by line.

  1. Confirm the connector version and beta scope

    Before any configuration, open the OpenMetadata Grafana connector documentation for the version you run and record which objects it covers: dashboards, charts, owners, tags and lineage. Note that the connector is in beta, and agree with the owning team what beta means for your production use, including support expectations and how you will test upgrades. You are done when the version number, the covered object list and the beta decision are written in your implementation notes and approved by the platform owner.

  2. Create a dedicated Grafana service account

    A Grafana administrator creates a separate service account for OpenMetadata instead of reusing a personal login. Assign it the role the connector documentation requires for reading dashboards, folders and metadata, and keep a record of who approved the role. Avoid sharing the account with other automations so that its activity and permissions remain traceable. You are done when the account appears in Grafana's service account list with the chosen role and an owner recorded in your documentation.

  3. Generate the token and confirm API access

    Generate a service account token in Grafana, copy it into your secrets store immediately, and set an expiry date that your rotation process can meet. Confirm that API access is enabled for the instance and test the token with a read request to a folder list from the OpenMetadata host, not from your laptop, so that network routing is also tested. You are done when the request returns the expected folders and an unauthorized response appears when you deliberately use a wrong token.

  4. Add the Grafana metadata service in OpenMetadata

    In OpenMetadata, create a new dashboard service of type Grafana. Enter the Grafana base URL as your OpenMetadata server can reach it, and store the token through the secret handling your deployment uses rather than pasting it into shared notes. Give the service a name that tells users which Grafana instance it represents, since this name appears in every lineage and asset path later. You are done when the service is saved and shows the connection fields with the token masked.

  5. Run the connection test

    Use the connection test in the service screen before saving any ingestion schedule. A failure here usually points to the URL, TLS trust between the two hosts, the token value or missing API access, so check each in that order and fix one at a time. Record the exact error text for any failure so that the same problem can be recognized later. You are done when the test reports success and you have a short log of any earlier failures and their fixes.

  6. Set the source filters the connector describes

    Review the filter options in the connector documentation and set them to match your scope, such as limiting ingestion to specific folders or dashboard names. Start with a narrow filter so that the first run is small enough to inspect by hand, and document which folders are included and excluded. Treat filters as part of the access design, since they decide what enters the catalog. You are done when the filter configuration is saved and a reviewer can state, from the documentation, which dashboards the next run will read.

  7. Run a first ingestion on one folder

    Run metadata ingestion once, limited to a single Grafana folder, and watch the ingestion logs from start to finish. Look for skipped objects, warnings about missing owners or tags, and any errors about permissions on individual dashboards, since these show gaps in the service account role. Keep the run manual until the output matches what you expect. You are done when the run completes with no unexplained errors and the number of dashboards ingested matches the number you counted in Grafana for that folder.

  8. Verify owners, tags and lineage on dashboard pages

    Open three or four ingested dashboards in OpenMetadata and compare them with Grafana. Confirm that the title, owner, tags and any lineage to data sources appear as the connector documentation describes, and flag any that are missing or wrong. Where lineage is absent, check whether the underlying data source is itself cataloged, since lineage depends on both ends. You are done when a reviewer has signed off on the sample and the list of known gaps is recorded before you widen the filters or add a schedule.

Which Grafana objects land on which OpenMetadata pages

This table maps each Grafana object to the OpenMetadata page or field where it should appear, and lists what the reader must verify on each side. Read it before the first connector run, because lineage depends on upstream sources being cataloged, and the exact lineage produced varies by data source type.

Grafana objectWhere it lands in OpenMetadataWhat to verify
DashboardsDashboard entity with its name, description and source linkConfirm the connector ingests every folder the service account can read, and check whether dashboards in nested folders appear as expected.
PanelsChart entries under the parent dashboardConfirm panel titles and types map to chart entries, and check how panels using template variables or library panels are named.
OwnersOwnership on the dashboard entityConfirm which Grafana user or team fields the connector reads and whether they match users already present in OpenMetadata.
TagsTags on the dashboard entityConfirm tag values are imported as expected and decide who manages them, so tags added in OpenMetadata are not overwritten on the next run.
Data source referencesLineage edges from upstream tables or services to the dashboardLineage to a warehouse table appears only when the upstream source is also cataloged in OpenMetadata. Confirm per data source type which lineage the connector produces.
Data sources without a cataloged matchDashboard with no upstream edge, or an unlinked referenceExpect a gap wherever the upstream database or service was not ingested. Plan that connector first, or document the gap for owners.
Service account permissionsIngestion success or partial resultsConfirm the token has sufficient permissions, with Admin recommended in the connector documentation, and that API access is enabled. Partial permissions can hide folders and panels.

How the token, ingestion runner and catalog fit together

The flow starts at the Grafana server, which exposes an API and stores its configuration in a database. The ingestion runner, placed inside the company network, uses a service account token held in OpenMetadata to call that API and read dashboards, charts, owners, tags and lineage hints. It then sends the collected metadata to the OpenMetadata server, which writes it to its own database. Lineage links point back to upstream data sources. Check that the runner can reach Grafana's API from inside the trust boundary, and that the token is stored and scoped as a credential, not shared broadly.

Ingestion runner reads Grafana through its API and writes metadata into OpenMetadata inside one network.

What beta status means for production use of this connector

Treat the Grafana connector as a beta integration until the OpenMetadata documentation says otherwise. A beta label means the connector's behavior, configuration fields and the way it maps Grafana objects to catalog entities can change between releases. Do not assume that a dashboard, owner or tag mapping you rely on today will behave the same after an upgrade. Before the connector feeds any catalog content that people use for decisions, run it against a copy of the catalog: restore a recent backup into a separate OpenMetadata instance, point the connector at a Grafana test or staging instance, and compare what appears against what the Grafana service account can actually see. Record each gap, including dashboards that are missing, owners that do not map and lineage that stops at a data source.

Put connector changes under the same change control you use for other production integrations. That means a written change request for the service account scope, the ingestion schedule, the Grafana URL and any token rotation, plus a rollback step for the ingestion configuration. Track OpenMetadata maintenance releases from the OpenMetadata releases page. The 2.0 line has published maintenance releases at roughly one to two week intervals, so assign one person to review release notes for connector changes and to schedule a pilot run before any production upgrade. Confirm in the release notes which Grafana connector fields changed, and check the OpenMetadata Grafana connector documentation for the current scope before each upgrade.

Decide the fallback before the pilot starts, not after it fails. For every gap the pilot finds, choose one of three outcomes: accept the gap, fill it with manual curation in OpenMetadata (owners, tags and descriptions entered by the dashboard's team), or hold the connector back from that use case until the gap closes. Manual curation is a recurring cost because someone must update those records when dashboards change, so record who owns each manual entry and how often it is reviewed. Set a review point, such as each OpenMetadata minor upgrade or each quarter, at which the team confirms whether the connector still covers the same scope. Do not describe the connector as production ready in internal documents or customer-facing material until your own pilot and change records support that statement.

Securing the Grafana token, the network path and the catalog

The connector reads Grafana through a service account token, so the token's scope, storage and rotation decide how far the catalog reaches. The network path and Grafana's own hardening settings decide who can reach that token and the dashboards behind it.

Token scope and the Admin recommendation

The OpenMetadata Grafana connector docs recommend an Admin service account token with API access enabled. Admin gives broad write power over Grafana, so the trade-off is real. Ask the connector documentation and your own test instance for the minimum role the connector needs to read dashboards, charts, owners, tags and lineage. Then create the token with that role and record the decision in your change log.

Grafana connector docs

Where the token lives in OpenMetadata

The token is entered in the connector configuration, so anyone who can view or edit that ingestion service may be able to read it. Confirm how OpenMetadata stores connection secrets in your deployment, who holds the roles that view service configuration, and whether secrets can be sourced from an external secret manager. Limit edit rights on the Grafana service to a small group of platform owners.

Rotation and ownership of the service account

Name one team as the owner of the Grafana service account and document who rotates its token. Plan rotation as a scheduled task that updates the token in OpenMetadata and in your secret store together, then runs a test ingestion. Check that a rotation does not break dashboards or lineage in the next run. Remove the account when the catalog project ends.

TLS and the network path

Connect OpenMetadata to Grafana over TLS, and confirm which network path the ingestion job uses to reach the Grafana URL. Keep Grafana off public networks where your policy requires it, and allow only the ingestion subnet or workload identity to reach its API. Verify certificate trust in the ingestion image, since custom internal certificate authorities are a common failure point.

Grafana cookie and browser hardening

The Grafana security hardening docs recommend secure and SameSite cookies, a Content Security Policy and Trusted Types. Apply these to the Grafana instance that users and the catalog reach. Test that the settings do not break embedded panels or the OAuth sign-in flow before rolling them out. Record each setting and its reason so auditors can trace the decision.

Security hardening docs

Hidden version and authenticated metrics

Hide the Grafana version from unauthenticated users and require authentication for the metrics endpoint, as the hardening guidance recommends. Both steps reduce what an outside party learns about your stack before they reach a login page. Check the monitoring tools that scrape Grafana metrics, since they need credentials after this change.

Signing in to two systems

OpenMetadata does not support combining SSO with basic authentication, so you cannot use one mechanism as a fallback on the catalog. Plan how administrators sign in to OpenMetadata through its SSO provider, and how break-glass access is handled. Grafana's SSO options also differ by edition, so confirm which provider your Grafana edition supports before you design the user flow.

How the Grafana edition changes the integration plan

Self-managed open source Grafana is the edition where you run the server yourself, and the license question matters most here. Grafana Labs relicensed Grafana, Loki and Tempo from Apache License 2.0 to AGPLv3 on April 20, 2021, while plugins and SDKs kept other licenses. Your legal team should review what the AGPLv3 terms require if you modify and expose the software. Authentication is the other constraint: LDAP, generic OAuth, Entra ID, Okta, GitHub, GitLab and Google OAuth, auth proxy and JWT are available to all editions.

  • License review: Confirm with counsel how AGPLv3 applies to any modifications you make to Grafana, Loki or Tempo.
  • Identity options: Plan sign-in around LDAP, generic OAuth, Entra ID, Okta or a similar provider, all of which work without a paid edition.
  • No SAML or SCIM: Team sync, active sync and SCIM provisioning are not available here, so group-based access must be managed by other means.
  • Operations ownership: Your team carries upgrades, backups and high availability, and production use needs MySQL or PostgreSQL rather than SQLite.

Confirm your license position and identity plan before you create the service account token for the OpenMetadata connector.

Common Grafana connector failures and how to fix them

This table pairs each symptom a team is likely to see when running the OpenMetadata Grafana connector with its probable cause and a first fix. Work down the causes in order, because access and token problems usually block everything that follows. Confirm each fix against the connector documentation for your OpenMetadata version before changing production settings.

SymptomLikely causeFix
Authentication rejectedThe Grafana service account token is expired, revoked or was never entered in the connector configuration.Generate a new service account token in Grafana, update the connector configuration, and rerun a test connection before a full ingestion.
Empty or partial catalogAPI access is disabled in Grafana, or the service account role is too narrow to read every folder and dashboard.Confirm API access is enabled and grant the service account Admin, as the connector documentation recommends, then rerun ingestion and compare dashboard counts.
Dashboards with no owners or tagsOwners and tags are missing in Grafana itself, or connector filters exclude the folders where those dashboards sit.Add tags and ownership conventions in Grafana, then review the connector filter patterns so the target folders are included.
Lineage gapsThe upstream data sources behind Grafana panels, such as databases or metrics stores, are not yet cataloged in OpenMetadata.Ingest the upstream services first, then rerun the Grafana ingestion so panel-to-source lineage can resolve to existing tables.
Broken run after a Grafana upgradeVersion drift between the connector release in OpenMetadata and the Grafana version now running.Check the connector's supported Grafana versions in the OpenMetadata release notes, align both sides in a test environment, and upgrade the connector before production.
Ingestion stalls on a large Grafana instanceThe ingestion runner is undersized for the number of dashboards and panels, or the filter scope is too broad.Narrow the filters to the folders you need, run ingestion in stages by folder, and increase runner resources if the run still stalls.

Questions teams ask before connecting Grafana to OpenMetadata

What drives the cost and effort of connecting Grafana to OpenMetadata?

The main cost is the time of the people doing the work, and the size of that time depends on how many Grafana folders, dashboards and data sources you want cataloged, how consistently owners and tags are set in Grafana today, and how much lineage you expect to trace back to upstream tables. Your internal platform or data team pays for their own hours in either case. If you use a partner, the fee follows from a written, fixed scope that lists the Grafana instances, the connector configuration, the ownership and tagging rules, the testing and the handover. Ask for a quote that separates one-time setup from recurring work such as connector upgrades, token rotation and retesting. Note that the Grafana connector is in beta, so ask whether the quote includes time to track changes between OpenMetadata releases.

How long does a first working Grafana connection take?

No duration has been established for this integration, so ask any provider, including DeployOpen, for a scoped estimate tied to your environment. The duration is driven by the number of Grafana instances, whether dashboards already carry consistent owners and tags, how many data sources need to be lineage-linked, access approvals for the service account token, and whether OpenMetadata is already running in production. A proof of concept against one Grafana folder usually moves faster than a full catalog. Ask the estimate to list the milestones it covers, such as connection, a dashboard sample, owner and tag mapping review, and a lineage check.

What does the integration need from the Grafana and data platform owners?

The integration needs a service account token in Grafana with sufficient permissions, where the OpenMetadata connector documentation recommends the Admin role, and API access must be enabled. Grafana owners must agree who creates and rotates that token, where it is stored, and which Grafana organization is in scope. Data platform owners need to confirm the OpenMetadata instance that will receive metadata, the network path from OpenMetadata to Grafana, and which upstream warehouses, databases and pipelines are already cataloged. Ask both teams to agree on an ownership model for dashboards before ingestion starts, so the catalog shows owners that someone will maintain.

Can an internal team connect Grafana to OpenMetadata alone?

Yes, a team with Grafana administration skills and OpenMetadata experience can configure the connector, provided they have time for testing and ongoing maintenance. A partner helps most where the team lacks recent OpenMetadata or Grafana administration experience, needs to meet security review requirements for the service account, or wants a fixed-scope delivery with documented verification. DeployOpen implements and documents open-source platforms inside your own infrastructure, so an engagement would cover planning, configuration, testing and handover, with the work agreed in writing before it starts. Your team should still own the token, the access model and the day-to-day catalog decisions.

Does the beta label on the Grafana connector block production use?

The beta label does not block production use by itself, but it changes how you plan. The OpenMetadata connector documentation marks the Grafana connector as beta, so the supported behavior may change between releases. Before going live, test the connector against a copy of your Grafana content, confirm which dashboard, chart, owner, tag and lineage fields you rely on, and record the OpenMetadata version you tested. Plan a staged upgrade process with a rollback step. OpenMetadata 2.0.0 was released on August 24, 2026, and its release notes list breaking changes that matter for any upgrade, so review them when choosing a version.

How does lineage depend on the upstream sources being cataloged?

Grafana lineage is only as complete as the data sources it links to. If a Grafana dashboard queries a warehouse table that is not yet in OpenMetadata, the dashboard can still be cataloged, but the path back to the table will be missing or incomplete. Before ingestion, list the data sources behind your most important dashboards and confirm that their tables, pipelines and services are cataloged, with the names used in Grafana matching the names in OpenMetadata. Ask the test plan to include a sample of dashboards traced end to end, so gaps are found before stakeholders rely on the lineage view.

How do Grafana high availability and its database choice affect the integration?

Grafana stores its configuration in SQLite 3 by default, but the Grafana installation documentation says SQLite does not scale for production, so MySQL 8.0 or later or PostgreSQL 12 or later is required for production and high availability. High availability uses two or more active-active Grafana servers behind a load balancer sharing that database. For the OpenMetadata connector, confirm which Grafana endpoint is used for API access so the connector does not depend on one node, and check that token and configuration changes reach all nodes. The high availability documentation also notes that alerting needs extra configuration to avoid duplicate notifications and that Grafana Live has limitations in high availability, so review those before depending on them.

What does a retest or ongoing support cover after the first connection?

A retest checks that the agreed scope still works after a change, such as a Grafana upgrade, an OpenMetadata upgrade, a token rotation or a new folder added to ingestion. It should repeat the connection test, sample dashboards, owner and tag checks and lineage traces, and record the results against the scope. Ongoing support is available as a retainer for work such as connector upgrades, monitoring of ingestion runs and periodic testing. Ask for the retest and support terms in writing, including what triggers a retest, how upgrades are scheduled and what is excluded, so the recurring cost is clear before you sign.

How DeployOpen scopes and delivers the Grafana integration

DeployOpen plans, builds, documents and supports self-hosted open-source platforms inside your own infrastructure, including OpenMetadata and its connectors. For the Grafana integration, we agree a written scope first, then build the service account, connector configuration, ownership and tagging model in your environment, and hand over the runbooks your team needs to operate it.

How we scope

  • Written scope that names which Grafana instances, folders and dashboards the connector will catalog.
  • Confirmation of the Grafana edition, database backend and API access your instance uses.
  • Agreed owner, tag and glossary model so catalog entries have accountable teams from day one.
  • Decision on the service account permission level, with Admin recommended by the connector documentation.

How we build

  • Create the Grafana service account and token in your environment, following your secret storage rules.
  • Configure and run the OpenMetadata Grafana connector against the agreed scope in a test environment first.
  • Test lineage and ownership results against a sample of dashboards and panels your teams confirm.
  • Document the connector beta status and the known gaps that affect your production plan.

How we hand over

  • Written configuration record covering the connector settings, token handling and scheduled ingestion.
  • Runbook for rotating the Grafana token and for diagnosing failed ingestion runs.
  • Ownership and tagging guide that your data stewards can follow after handover.
  • Walkthrough with your platform and data teams covering the deliverables and open items.

How we support

  • Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts.
  • Ongoing support, connector upgrades and continuous testing are available as a retainer.
  • Review of OpenMetadata and Grafana release notes against your deployment before you upgrade either product.
  • Quote follows from the written scope, so ask us which items recur and which are one-time.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.