Skip to content

Commit

Permalink
adds missing metrics options
Browse files Browse the repository at this point in the history
closes #33
  • Loading branch information
goodroot committed Dec 10, 2024
1 parent 54ef5a2 commit a8cd41a
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions documentation/third-party-tools/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,69 @@ The following metrics are available:
| `questdb_pg_wire_connections` | gauge | Number of currently active PostgreSQL Wire Protocol connections. |
| `questdb_pg_wire_select_queries_cached` | gauge | Number of current cached PostgreSQL Wire Protocol `SELECT` queries. |
| `questdb_pg_wire_update_queries_cached` | gauge | Number of current cached PostgreSQL Wire Protocol `UPDATE` queries. |
| `questdb_json_queries_cache_hits_total` | counter | Number of total cache hits for JSON queries. |
| `questdb_json_queries_cache_misses_total`| counter | Number of total cache misses for JSON queries. |
| `questdb_json_queries_completed_total` | counter | Total number of completed JSON queries. |
| `questdb_jvm_major_gc_count_total` | counter | Total number of major garbage collection events. |
| `questdb_jvm_major_gc_time_total` | counter | Total time spent on major garbage collection. |
| `questdb_jvm_minor_gc_count_total` | counter | Total number of minor garbage collection events. |
| `questdb_jvm_minor_gc_time_total` | counter | Total time spent on minor garbage collection. |
| `questdb_jvm_unknown_gc_count_total` | counter | Total number of unknown type garbage collection events. |
| `questdb_jvm_unknown_gc_time_total` | counter | Total time spent on unknown type garbage collection. |
| `questdb_memory_tag_MMAP_BLOCK_WRITER` | gauge | Amount of memory allocated for block writer mmapped files. |
| `questdb_memory_tag_MMAP_IMPORT` | gauge | Amount of memory allocated for import operations. |
| `questdb_memory_tag_MMAP_PARALLEL_IMPORT`| gauge | Amount of memory allocated for parallel import operations. |
| `questdb_memory_tag_MMAP_PARTITION_CONVERTER` | gauge | Amount of memory allocated for partition converter operations. |
| `questdb_memory_tag_MMAP_SEQUENCER_METADATA` | gauge | Amount of memory allocated for sequencer metadata. |
| `questdb_memory_tag_MMAP_TABLE_WAL_READER` | gauge | Amount of memory allocated for table WAL reader mmapped files. |
| `questdb_memory_tag_MMAP_TABLE_WAL_WRITER` | gauge | Amount of memory allocated for table WAL writer mmapped files. |
| `questdb_memory_tag_MMAP_TX_LOG` | gauge | Amount of memory allocated for transaction log mmapped files. |
| `questdb_memory_tag_MMAP_TX_LOG_CURSOR` | gauge | Amount of memory allocated for transaction log cursor mmapped files. |
| `questdb_memory_tag_MMAP_UPDATE` | gauge | Amount of memory allocated for update operations. |
| `questdb_memory_tag_NATIVE_CB1` | gauge | Amount of memory allocated for native circular buffer 1. |
| `questdb_memory_tag_NATIVE_CB2` | gauge | Amount of memory allocated for native circular buffer 2. |
| `questdb_memory_tag_NATIVE_CB3` | gauge | Amount of memory allocated for native circular buffer 3. |
| `questdb_memory_tag_NATIVE_CB4` | gauge | Amount of memory allocated for native circular buffer 4. |
| `questdb_memory_tag_NATIVE_CB5` | gauge | Amount of memory allocated for native circular buffer 5. |
| `questdb_memory_tag_NATIVE_CIRCULAR_BUFFER` | gauge | Amount of memory allocated for native circular buffers. |
| `questdb_memory_tag_NATIVE_DIRECT_BYTE_SINK` | gauge | Amount of memory allocated for native direct byte sink. |
| `questdb_memory_tag_NATIVE_DIRECT_CHAR_SINK` | gauge | Amount of memory allocated for native direct char sink. |
| `questdb_memory_tag_NATIVE_DIRECT_UTF8_SINK` | gauge | Amount of memory allocated for native direct UTF-8 sink. |
| `questdb_memory_tag_NATIVE_FAST_MAP_INT_LIST` | gauge | Amount of memory allocated for native fast map integer list. |
| `questdb_memory_tag_NATIVE_FUNC_RSS` | gauge | Amount of memory allocated for native function RSS. |
| `questdb_memory_tag_NATIVE_GROUP_BY_FUNCTION` | gauge | Amount of memory allocated for native group by function. |
| `questdb_memory_tag_NATIVE_ILP_RSS` | gauge | Amount of memory allocated for native ILP RSS. |
| `questdb_memory_tag_NATIVE_IMPORT` | gauge | Amount of memory allocated for native import operations. |
| `questdb_memory_tag_NATIVE_INDEX_READER` | gauge | Amount of memory allocated for native index reader. |
| `questdb_memory_tag_NATIVE_IO_DISPATCHER_RSS` | gauge | Amount of memory allocated for native IO dispatcher RSS. |
| `questdb_memory_tag_NATIVE_JIT` | gauge | Amount of memory allocated for native JIT. |
| `questdb_memory_tag_NATIVE_JIT_LONG_LIST`| gauge | Amount of memory allocated for native JIT long list. |
| `questdb_memory_tag_NATIVE_JOIN_MAP` | gauge | Amount of memory allocated for native join map. |
| `questdb_memory_tag_NATIVE_LATEST_BY_LONG_LIST` | gauge | Amount of memory allocated for native latest by long list. |
| `questdb_memory_tag_NATIVE_LOGGER` | gauge | Amount of memory allocated for native logger. |
| `questdb_memory_tag_NATIVE_MIG` | gauge | Amount of memory allocated for native MIG. |
| `questdb_memory_tag_NATIVE_MIG_MMAP` | gauge | Amount of memory allocated for native MIG mmapped files. |
| `questdb_memory_tag_NATIVE_OFFLOAD` | gauge | Amount of memory allocated for native offload. |
| `questdb_memory_tag_NATIVE_PARALLEL_IMPORT` | gauge | Amount of memory allocated for native parallel import. |
| `questdb_memory_tag_NATIVE_PATH` | gauge | Amount of memory allocated for native path. |
| `questdb_memory_tag_NATIVE_ROSTI` | gauge | Amount of memory allocated for native rosti. |
| `questdb_memory_tag_NATIVE_SAMPLE_BY_LONG_LIST` | gauge | Amount of memory allocated for native sample by long list. |
| `questdb_memory_tag_NATIVE_SQL_COMPILER` | gauge | Amount of memory allocated for native SQL compiler. |
| `questdb_memory_tag_NATIVE_TABLE_READER` | gauge | Amount of memory allocated for native table reader. |
| `questdb_memory_tag_NATIVE_TABLE_WAL_WRITER` | gauge | Amount of memory allocated for native table WAL writer. |
| `questdb_memory_tag_NATIVE_TABLE_WRITER` | gauge | Amount of memory allocated for native table writer. |
| `questdb_memory_tag_NATIVE_TEXT_PARSER_RSS` | gauge | Amount of memory allocated for native text parser RSS. |
| `questdb_memory_tag_NATIVE_TLS_RSS` | gauge | Amount of memory allocated for native TLS RSS. |
| `questdb_memory_tag_NATIVE_UNORDERED_MAP` | gauge | Amount of memory allocated for native unordered map. |
| `questdb_pg_wire_errors_total` | counter | Total number of errors in PostgreSQL wire protocol. |
| `questdb_pg_wire_select_cache_hits_total` | counter | Total number of cache hits for PostgreSQL wire protocol select queries. |
| `questdb_pg_wire_select_cache_misses_total` | counter | Total number of cache misses for PostgreSQL wire protocol select queries. |
| `questdb_wal_apply_physically_written_rows_total` | counter | Total number of physically written rows during WAL apply. |
| `questdb_wal_apply_rows_per_second` | gauge | Rate of rows applied per second during WAL apply. |
| `questdb_wal_apply_written_rows_total` | counter | Total number of rows written during WAL apply. |
| `questdb_wal_written_rows_total` | counter | Total number of rows written to WAL. |
| `questdb_workers_job_start_micros_max` | gauge | Maximum time taken to start a worker job in microseconds. |
| `questdb_workers_job_start_micros_min` | gauge | Minimum time taken to start a worker job in microseconds. |

All of the above metrics are volatile, i.e. they're collected since the current
database start.
Expand Down

0 comments on commit a8cd41a

Please sign in to comment.