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/alloy/latest/scenarios/databases-and-caches.md, or by sending Accept: text/markdown to https://grafana.com/docs/alloy/latest/scenarios/databases-and-caches/. 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.
Menu
Open source
Last reviewed: November 17, 2026Database and cache scenarios
The database and cache scenarios monitor a database or cache server and the workload running against it.
| Scenario | Description |
|---|---|
| Elasticsearch monitoring | Monitor Elasticsearch cluster health, node status, and performance metrics. |
| Memcached monitoring | Monitor Memcached instance metrics, including connections, memory usage, and command performance. |
| Microsoft SQL Server monitoring | Monitor SQL Server file sizes, batch requests, and connections with prometheus.exporter.mssql, plus app-specific metrics from a custom query_config. |
| MongoDB monitoring | Monitor MongoDB op-counters, connection pool, and replica-set replication metrics with prometheus.exporter.mongodb. Runs a single-node replica set with an insert load generator. |
| MySQL monitoring | Monitor MySQL database server metrics and performance indicators. |
| PostgreSQL monitoring | Monitor PostgreSQL transaction statistics, connections, and server configuration. |
| RabbitMQ monitoring | Monitor RabbitMQ queue, connection, and channel metrics plus broker container logs. |
| Redis monitoring | Monitor Redis instance metrics, including connections, memory usage, and command throughput. |
Refer to the alloy-scenarios repository for the full list of scenarios.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

How to get started with OpenTelemetry and Grafana
OpenTelemetry delivers vendor-agnostic telemetry. Grafana turns that data into outcomes — not just dashboards — using AI-assisted workflows in Grafana Assistant.
Video

Mastering OpenTelemetry instrumentation and Grafana
A practical guide to code-based OpenTelemetry instrumentation with Grafana — demonstrates advanced techniques for adding custom spans, metrics, and attributes to capture application context that zero-code instrumentation cannot always reveal.
Video

What's new in Grafana Alloy's OpenTelemetry engine
Grafana Labs engineers introduce Alloy's new OpenTelemetry Engine. Learn how to configure Alloy using standard OpenTelemetry Collector YAML and enable native OpenTelemetry pipelines integrated with Grafana.
Choose a product
Viewing: v1.22 (latest)
Find another version
Scroll for more