Currently, linking custom dashboards to Knowledge Graph entity types (via KPI display options) can only be done through the Grafana Cloud UI at Observability > Configuration > KPI display options. There is no programmatic way to manage this configuration.
Use case
We have custom dashboards linked to entity types such as Account and Store in our Knowledge Graph model. Managing these as code would allow us to version-control, review, and automate deployment of these configurations alongside the rest of our infrastructure-as-code. This is to enable business context to our IT stack.
What I’d like
Support for managing custom dashboard-to-entity-type mappings via one or more of:
- A grafana_asserts_kpi_dashboard Terraform resource in the terraform-provider-grafana
- A documented REST API endpoint
- gcx CLI support