Skip to content

Grafana ingestion fails with text panels #15169

@Lwackp

Description

@Lwackp

Describe the bug

Grafana dashboards ingestion fails if one dashboard has a text panel:

[2025-10-31 18:04:34,919] INFO     {datahub.ingestion.source_report.ingestion_stage:71} - Stage started: Grafana Dashboard Extraction at 2025-10-31 18:04:34.919317+00:00
[2025-10-31 18:04:35,083] WARNING  {datahub.ingestion.source.grafana.models:98} - Error extracting panels from dashboard for dashboard panels
title
  Field required [type=missing, input_value={'datasource': {'type': '...11.1.3', 'type': 'text'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.12/v/missing
...

Text panels don't have a title attribute in Grafana v11.1.3.

To Reproduce
Steps to reproduce the behavior:

  1. Ingest a Grafana instance that has a dashboard with a text panel
  2. Run ingestion
  3. See error

Expected behavior
Datahub should ignore text panels ("type": "text")

Ideally all parsing exceptions should be caught to avoid failing ingestion completely

Datahub version v1.3.0

Metadata

Metadata

Assignees

Labels

bugBug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions