Attention
Zercurity has been acquired by JumpCloud.
This documentation will no longer be maintained or updated. You can read more about the acquisition, or signup to JumpCloud today.
prometheus_metrics¶
Retrieve metrics from a Prometheus server.
Platform support¶
Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: prometheus_metrics
- Linux
- Mac OSX
Table schema¶
Name | Type | Description |
---|---|---|
target_name | TEXT | Address of prometheus target |
metric_name | TEXT | Name of collected Prometheus metric |
metric_value | DOUBLE | Value of collected Prometheus metric |
timestamp_ms | BIGINT | Unix timestamp of collected data in MS |