manual:config:items:itemtypes:prometheus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:config:items:itemtypes:prometheus [2021/05/17 11:38]
127.0.0.1 external edit
manual:config:items:itemtypes:prometheus [2021/07/29 10:28] (current)
marinagen [ZBXNEXT-6772] New label matching operators
Line 42: Line 42:
 |Query target ​ |Prometheus server ​ |Plain text in Prometheus exposition format ​ | |Query target ​ |Prometheus server ​ |Plain text in Prometheus exposition format ​ |
 |Returns ​ |Instant vector ​ |Metric or label value (Prometheus pattern)\\ Array of metrics for single value in JSON (Prometheus to JSON)  | |Returns ​ |Instant vector ​ |Metric or label value (Prometheus pattern)\\ Array of metrics for single value in JSON (Prometheus to JSON)  |
-|Label matching operators ​ |**=**, **!=**, **=~**, **!~** ​ |**=**, **=~** ​ |+|Label matching operators ​ |**=**, **!=**, **=~**, **!~** ​ |**=**, **!=**, **=~**, **!~** |
 |Regular expression used in label or metric name matching ​ |RE2  |PCRE  | |Regular expression used in label or metric name matching ​ |RE2  |PCRE  |
 |Comparison operators ​ |See [[https://​prometheus.io/​docs/​prometheus/​latest/​querying/​operators/#​comparison-binary-operators|list]] ​ |Only **==** (equal) is supported for value filtering ​ | |Comparison operators ​ |See [[https://​prometheus.io/​docs/​prometheus/​latest/​querying/​operators/#​comparison-binary-operators|list]] ​ |Only **==** (equal) is supported for value filtering ​ |