Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/knowledge-graph/advanced-configuration/mapping-metrics-to-insights.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/knowledge-graph/advanced-configuration/mapping-metrics-to-insights/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Map metrics to the knowledge graph model
The knowledge graph is built on Open Prometheus standards, and is extensible. Metrics from any component or framework can be mapped to Insights categories with a YAML file by following the Prometheus Recording Rule specification.
The following content covers how metrics from Spring Boot and Redis have been mapped to the standard knowledge graph’s metrics to detect resource Saturation, Anomalies, changes to the deployment (Amends), and availability and latency Errors.
You can follow the same methodology to map custom metrics from your services.
Was this page helpful?
Related resources from Grafana Labs


