---
title: Monitoring OpenObserve
description: Monitor OpenObserve using Prometheus metrics with global labels for cluster, instance, and role to track performance and health.
---

# Monitoring OpenObserve

OpenObserve exposes Prometheus metrics about itself that allow you to monitor OpenObserve. Every metric name has the `zo_` prefix, for example `zo_http_incoming_requests`.

endpoint: `/metrics`

## Global labels

- cluster: `ZO_CLUSTER_NAME`
- instance: `ZO_INSTANCE_NAME`
- role: `ZO_NODE_ROLE`

## Metrics

| component | metrics name                   | labels                              | data type | desc |
|-----------|--------------------------------|-------------------------------------|-----------|------|
| http      | http_incoming_requests         | endpoint, status, organization, stream_type, search_type, search_group | Counter   | endpoint: /_bulk, /_json, /_multi, /_search, /_around |
| -         | http_response_time             | endpoint, status, organization, stream_type, search_type, search_group | Histogram | endpoint: /_bulk, /_json, /_multi, /_search, /_around |
| grpc      | grpc_incoming_requests         | endpoint, status, organization, stream_type, search_type, search_group | Counter   | endpoint: search, event |
| -         | grpc_response_time             | endpoint, status, organization, stream_type, search_type, search_group | Histogram | endpoint: search, event |
| ingester  | ingest_records                 | organization, stream_type           | Counter   | - |
| -         | ingest_bytes                   | organization, stream_type           | Counter   | - |
| -         | ingest_wal_used_bytes          | organization, stream_type           | Gauge     | currently WAL total size |
| -         | ingest_wal_write_bytes         | organization, stream_type           | Counter   | Ingestor WAL write bytes        |
| -         | ingest_wal_read_bytes          | organization, stream_type           | Counter   | Ingestor WAL read bytes         |
| -         | ingest_memtable_arrow_bytes    | -                                   | Gauge     | Ingestor in memory bytes of arrow format |
| -         | ingest_memtable_bytes          | -                                   | Gauge     | Ingestor in memory bytes of json format  |
| -         | ingest_memtable_files          | -                                   | Gauge     | Ingestor in memory files |
| -         | ingest_memtable_lock_time      | organization                        | Histogram | Ingestor memtable lock time |
| -         | ingest_wal_lock_time           | organization                        | Histogram | Ingestor wal lock time |
| querier   | query_memory_cache_limit_bytes | -                                   | Gauge     | - |
| -         | query_memory_cache_used_bytes  | organization, stream_type           | Gauge     | - |
| -         | query_memory_cache_files       | organization, stream_type           | Gauge     | - |
| -         | query_disk_cache_limit_bytes   | -                                   | Gauge     | - |
| -         | query_disk_cache_used_bytes    | organization, stream_type           | Gauge     | - |
| -         | query_disk_cache_files         | organization, stream_type           | Gauge     | - |
| compactor | compact_used_time              | organization, stream_type           | Counter   | - |
| -         | compact_merged_files           | organization, stream_type           | Counter   | - |
| -         | compact_merged_bytes           | organization, stream_type           | Counter   | - |
| -         | compact_pending_jobs           | organization, stream_type           | Gauge     | Compactor pending jobs count | 
| -         | deletion / archiving           | -                                   | -         | TODO |
| storage   | storage_original_bytes         | organization, stream_type           | Gauge     | Storage metrics will be updated regularly. |
| -         | storage_compressed_bytes       | organization, stream_type           | Gauge     | - |
| -         | storage_files                  | organization, stream_type           | Gauge     | - |
| -         | storage_records                | organization, stream_type           | Gauge     | - |
| -         | storage_read_requests          | organization, stream_type, method_type, storage_type | Counter   | - |
| -         | storage_write_requests         | organization, stream_type, storage_type | Counter   | - |
| -         | storage_write_bytes            | organization, stream_type, storage_type | Counter   | - |
| -         | storage_read_bytes             | organization, stream_type, method_type, storage_type | Counter   | - |
| -         | storage_time                   | organization, stream_type, method_type, storage_type | Counter   | method_type: for example get_opts, put |
| metadata  | meta_storage_bytes             | -                                   | Gauge     | Metadata metrics will be updated regularly. |
| -         | meta_storage_keys              | -                                   | Gauge     | - |
| -         | meta_num_nodes                 | node_role                           | Gauge     | node_role |
| -         | meta_num_organizations         | -                                   | Gauge     | - |
| -         | meta_num_streams               | organization, stream_type           | Gauge     | - |
| -         | meta_num_users_total           | -                                   | Gauge     | - |
| -         | meta_num_users                 | organization                        | Gauge     | - |
| -         | meta_num_functions             | organization, stream_type, function_type         | Gauge | - |
| -         | meta_num_alerts                | organization, stream_type           | Gauge     | TODO |
| -         | meta_num_dashboards            | organization                        | Gauge     | TODO |
