DB extractor metrics
The DB extractor can send performance metrics for remote monitoring and debugging.
Prometheus metrics
This section contains the full list of available metrics from the extractor. For information on the different types of metrics, see the Prometheus documentation. In general, Counter starts at zero and increases during a run of the extractor, while Gauge may change freely.
Name | Type | Purpose |
---|---|---|
db_extractor_start_time | Gauge | The timestamp (seconds) of when the extractor last started. |
db_extractor_finish_time | Gauge | The timestamp (seconds) of when the extractor last finished. |
db_extractor_memory_bytes | Gauge | The memory usage of extractor in bytes. |
db_extractor_cpu_percent | Total The CPU usage of the extractor (0 — 100). Notice that this value is summed across all threads, so the value might exceed 100. | |
db_extractor_num_threads | Gauge | The number of threads used by the extractor. |
db_extractor_rows_fetched | Counter | The number of rows fetched from a database, labeled on each query. |
db_extractor_rows_uploaded | Counter | The total number of rows successfully uploaded to CDF. |
db_extractor_queries_run | Counter | The number of successful queries. |
db_extractor_queries_failed | Counter | The number of failed queries. |
db_extractor_connection_num | Counter | The number of concurrent database connections active. This is the number of active queries. |
db_extractor_server_num | Counter | The number of databases specified in the configuration. |
db_extractor_running | Counter | The state of the extractor as a numeric value. 1 indicates running and 0 indicates not running. |
db_extractor_info | An information dictionary about the given extractor. This is the extractor's name and version. |