---
title: "Map metrics to the knowledge graph model | Grafana Cloud documentation"
description: "Learn more about mapping metrics to the knowledge graph model"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/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](../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.

- [Request, Error, and Duration (RED)](./request-error-and-duration-red)
- [Resource Utilization and Saturation](./resource-utilization-and-saturation)
- [Failure](./failure)
- [Amends](./amend)
