Chapter 1. LokiStack dashboards
Use the LokiStack dashboards to monitor write throughput, read performance, chunk storage, and retention in your logging deployment.
1.1. Prerequisites Copy linkLink copied to clipboard!
-
You have created a
LokiStackcustom resource.
1.2. LokiStack dashboards Copy linkLink copied to clipboard!
When you deploy a LokiStack custom resource, the Loki Operator automatically creates four Grafana dashboards that provide observability into Loki performance and resource usage. These dashboards help you monitor ingestion rates, query performance, storage operations, and retention policies.
1.2.1. Access the LokiStack dashboards Copy linkLink copied to clipboard!
The dashboards are available in the OpenShift Container Platform web console. Navigate to Observe
1.2.2. Writes dashboard Copy linkLink copied to clipboard!
The LokiStack Writes dashboard shows log ingestion and write-path performance metrics:
- Write QPS (queries per second): The rate of log ingestion requests to the distributor and ingester components.
- Write latency: The time to process and acknowledge log writes.
- Ingester metrics: Memory usage, active streams, and flush operations.
- Distributor metrics: Request rate, batch size, and forwarding latency.
Use this dashboard to identify write-path bottlenecks, such as distributor overload or ingester memory pressure.
1.2.3. Reads dashboard Copy linkLink copied to clipboard!
The LokiStack Reads dashboard shows log query and read-path performance metrics:
- Read QPS (queries per second): The rate of query requests through the gateway, query front-end, and querier components.
- Query latency: The time to run queries at each component (p50, p99, p999 percentiles).
- Cache hit rates: Effectiveness of query result and chunk caching.
- Querier metrics: Active queries, queue depth, and resource usage.
This dashboard provides QPS metrics for sizing decisions. The LokiStack sizing table shows average QPS at 200ms query latency, which corresponds to the query front-end latency metrics in this dashboard.
Use this dashboard to identify read-path bottlenecks, such as slow queries, insufficient querier replicas, or poor cache performance.
1.2.4. Chunks dashboard Copy linkLink copied to clipboard!
The LokiStack Chunks dashboard shows chunk storage and compaction metrics:
- Chunk operations: Upload rate, download rate, and operation latency to object storage
- Chunk cache: Hit rates and eviction rates for the chunk cache
- Compactor metrics: Compaction job duration, objects processed, and delete operations
- Storage metrics: Object storage request rates and error rates
Use this dashboard to monitor object storage performance and identify storage-related bottlenecks or misconfigurations.
1.2.5. Retention dashboard Copy linkLink copied to clipboard!
The LokiStack Retention dashboard shows log retention and deletion metrics:
- Retention period: Configured and actual retention for each tenant
- Delete operations: Rate of log deletion and compaction cleanup
- Storage reclamation: Space freed by retention policy enforcement
- Compactor status: Active compaction jobs and completion times
Use this dashboard to verify that retention policies are working as expected and to monitor storage growth trends.