2021-08-06 21:12:00 +00:00
# Metrics in IOx
IOx output metrics to Jaeger for distributed request correlation.
Here are useful metrics
### Requests to IOx Server including Routers and Query Servers
| Metric name | Code Name | Description |
2022-06-02 20:00:27 +00:00
| --- | --- | --- |
2021-08-06 21:12:00 +00:00
| http_requests_total | http_requests | Total number of HTTP requests |
| gRPC_requests_total | requests | Total number of gROC requests |
2021-08-10 19:30:17 +00:00
| http_request_duration_seconds| ? | Time to finish a request |
2021-08-06 21:12:00 +00:00
| http_mem_bytes | ? | ? |
| http_mem_bytes_total | ? | ? |
### Line Protocol Data ingested into Routers
| Metric name | Code Name | Description |
2022-06-02 20:00:27 +00:00
| --- | --- | --- |
2021-08-06 21:12:00 +00:00
| ingest_points_total | ingest_lines_total | Total number of lines ingested |
| ingest_fields_total | ingest_fields_total | Total number of fields (columns) ingested |
| ingest_points_bytes_total | ingest_points_bytes_total | Total number of bytes ingested |
| ingest_entries_bytes_total | ingest_entries_bytes_total | Total number of entry bytes ingested (Not sure what this means |
### Chunks
| Metric name | Code Name | Description |
| --- | --- | --- |
2022-06-02 20:00:27 +00:00
| catalog_chunks_mem_usage_bytes | memory_metrics | Total memory usage by chunks |
| catalog_loaded_chunks | chunk_storage | Total number of chunks for each table |
| catalog_loaded_rows | row_count | Total number of rows for each table |
2021-08-06 21:12:00 +00:00
| catalog_lock_total | ? | ? |
| catalog_lock_wait_seconds_total | ? | ? |
| ? | partition_lock_tracker | ? |
| ? | chunk_lock_tracker | ? |
2021-08-10 19:30:17 +00:00
| ? | timestamp_histogram| Breakdown of timestamp distribution |
| catalog_chunks_total | chunk_state | Number of chunks in different states (open, closed, compacting, compacted, writing_os, rub_and_os, ...)) - might be removed in the future |
2021-08-06 21:12:00 +00:00
### Chunks and Rows Pruned by Queries
| Metric name | Code Name | Description |
| --- | --- | --- |
| query_access_pruned_chunks_total | pruned_chunks | Number of chunks of a table pruned while running queries |
| query_access_pruned_rows_total | pruned_rows | Number of chunks of a table pruned while running queries |
### jemalloc
| Metric name | Code Name | Description |
| --- | --- | --- |
2021-08-10 19:30:17 +00:00
| jemalloc_memstats_bytes | ServerMetrics::jemalloc_domain | tracking jemalloc's active, alloc, metadata, mapped, resident, retained |