[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: PDF File ✅ ACC_ New functions for Prometheus histograms - v1.0.pdf    
Issue Links:
Causes
causes ZBX-20276 Parameter parsing error in bucket_per... Closed
Sub-task
depends on ZBX-20311 Issue with PromQL rate() and histogra... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-6880 Frontend changes for new Prometheus f... Specification change (Sub-task) Closed Miks Kronkalns  
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!

Generated at Tue Jan 07 16:53:27 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.