Skip to main content
Version: Next

Grafana

Certified

Important Capabilities

CapabilityStatusNotes
Column-level LineageEnabled by default
Detect Deleted EntitiesEnabled by default
Extract OwnershipEnabled by default
Extract TagsEnabled by default
Platform InstanceEnabled by default
Table-Level LineageEnabled by default

This source extracts the following:

  • Folders
  • Dashboards
  • Charts
  • Tags
  • Owners
  • Lineage information

CLI based Ingestion

Config Details

Note that a . is used to denote nested fields in the YAML recipe.

FieldDescription
service_account_token 
string(password)
Grafana API token
url 
string
URL of Grafana instance (e.g. https://grafana.company.com)
auto_tag_dimensions
boolean
Automatically tag dimension fields in charts
Default: False
auto_tag_measures
boolean
Automatically tag measure fields in charts
Default: False
platform_instance
string
Platform instance for DataHub
platform_instance_map
map(str,string)
env
string
The environment that all assets produced by this connector belong to
Default: PROD
connection_to_platform_map
map(str,PlatformConnectionConfig)
connection_to_platform_map.key.platform 
string
Platform to connect to
connection_to_platform_map.key.database
string
Database name
connection_to_platform_map.key.platform_instance
string
Platform instance
connection_to_platform_map.key.env
string
Environment
stateful_ingestion
StatefulStaleMetadataRemovalConfig
Base specialized config for Stateful Ingestion with stale metadata removal capability.
stateful_ingestion.enabled
boolean
Whether or not to enable stateful ingest. Default: True if a pipeline_name is set and either a datahub-rest sink or datahub_api is specified, otherwise False
Default: False
stateful_ingestion.remove_stale_metadata
boolean
Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled.
Default: True

Code Coordinates

  • Class Name: datahub.ingestion.source.grafana.grafana_source.GrafanaSource
  • Browse on GitHub

Questions

If you've got any questions on configuring ingestion for Grafana, feel free to ping us on our Slack.