[ZBXNEXT-6879] New functions for Prometheus histograms Created: 2021 Aug 31 Updated: 2024 Apr 10 Resolved: 2021 Oct 31 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 6.0.0alpha6, 6.0 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Rostislav Palivoda | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: | ✅ ACC_ New functions for Prometheus histograms - v1.0.pdf | ||||||||||||||||
Issue Links: |
|
||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||
Team: | Team B | ||||||||||||||||
Sprint: | Sprint 80 (Sep 2021), Sprint 81 (Oct 2021) | ||||||||||||||||
Story Points: | 3 |
Description |
Currently, Zabbix technically supports ingesting Prometheus metrics of all types, but some of the metrics are difficult to work with. Specifically, metrics of type Histogram can be presented in Zabbix as multiple items with the same key names but different parameters. However, even though such items are logically related and represent the same data, it's difficult to analyze this data without specialized functions. Zabbix must support PromQL rate() and histogram_quantile() functions for easier integration with Prometheus-compatible exporters (such as Kubernetes). The rate() function calculates per-second rates (such as the number of API requests per second) and can be used either separately or along with histogram_quantile() function. histogram_quantile() accepts a quantile (percentage / 100), analyzes buckets (derived from Histogram metrics), and returns an approximation expressed in bucket units. |
Comments |
Comment by Michael Veksler [ 2021 Oct 12 ] |
Available in:
Updated documentation: |
Comment by Alexei Vladishev [ 2021 Oct 18 ] |
This functionality will be available in Zabbix 6.0, in QA currently. Stay tuned! |