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/next/scenarios/databases-and-caches.md, or by sending Accept: text/markdown to https://grafana.com/docs/alloy/next/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.
This is documentation for the next version of Grafana Alloy Documentation. For the latest stable release, go to the latest version.
Database 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


