Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana-cloud/knowledge-graph/advanced-configuration/enable-prom-metrics-collection/insight-rules.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana-cloud/knowledge-graph/advanced-configuration/enable-prom-metrics-collection/insight-rules/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Base rules and framework-specific rules
The knowledge graph uses a curated library of rules to analyze incoming time-series data and generate important alerts called insights. These insights are then classified into Saturation, Amend, Anomaly, Failure, and Error. The implementation of the knowledge graph involves two sets of rules: base rules and framework-specific rules, which are responsible for raising these insights.
Base rules are for common request and resource metrics across platforms and frameworks. The table below summarizes base insights raised by base rules.
| Insight | Insight category | |
|---|---|---|
| Request | RequestRateAnomaly | Anomaly |
| LatencyAverageAnomaly | Anomaly | |
| LatencyAverageBreach | Error | |
| LatencyP99ErrorBuildup | Error | |
| ErrorRatioAnomaly | Anomaly | |
| InboundClientErrorAnomaly | Anomaly | |
| ErrorRatioBreach | Error | |
| ErrorBuildup | Error | |
| Logging | LoggerRateAnomaly | Anomaly |
| ErrorLogRateBreach | Error | |
| Resource | Saturation | Saturation |
| ResourceRateAnomaly | Anomaly | |
| ResourceRateBreach | Error | |
| ResourceMayExhaust | Error |
Framework-specific rules raise a variety of insights, typically falling into the categories of Failure, Amend, and Saturation. For more information about insight categories, refer to Insights categories.
The following image shows a sample of frameworks and libraries for which built-in insights are available.

Was this page helpful?
Related resources from Grafana Labs


