points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly efficient Richard Hartmann Prometheus Deep Dive Introduction Intro 2.0 to 2.2.1 2.4 - 2.6 Beyond Outro PromQL Quick is not quick enough Brian Brazil optimized PromQL 5x faster for time vector functions 100x reduction in garbage to collect
points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly efficient Richard Hartmann @TwitchiH & @fredbrancz Intro to Prometheus Introduction Background Operations & observability Outro PromQL vs SQL avg by(city) (temperature_celsius{country=" germany" }) SELECT city, AVG(value) FROM temperature_celsius
in the new version, rate() and histogram_quantile() functions, producing the same result as their PromQL counterparts, have been added. Other new additions to complement this functionality are the bucket_rate_foreach() differences and similarities between PromQL and Zabbix Prometheus preprocessing query language. PromQL instant vector selector Zabbix Prometheus preprocessing Differences 354 PromQL instant vector selector Zabbix Supported foreach functions: bucket_rate_foreach Functionally corresponds to ’histogram_quantile’ of PromQL. Returns -1 if values of the last ’Infinity’ bucket (”+inf”) are equal to 0. Examples: => his-
comparison The following table lists differences and similarities between PromQL and Zabbix Prometheus preprocessing query language. PromQL instant vector selector Zabbix Prometheus preprocessing Differences value (Prometheus pattern) Array of metrics for single value in JSON (Prometheus to JSON) 291 PromQL instant vector selector Zabbix Prometheus preprocessing Label match- ing op- er- a- tors that equals string {
comparison The following table lists differences and similarities between PromQL and Zabbix Prometheus preprocessing query language. PromQL instant vector selector Zabbix Prometheus preprocessing Differences value (Prometheus pattern) Array of metrics for single value in JSON (Prometheus to JSON) 308 PromQL instant vector selector Zabbix Prometheus preprocessing Label match- ing op- er- a- tors that equals string {=””,...} {=””,...} 309 PromQL instant vector selector Zabbix Prometheus preprocessing Selecting by value
differences and similarities between PromQL and Zabbix Prometheus preprocessing query language. PromQL instant vector selector Zabbix Prometheus preprocessing Differences 316 PromQL instant vector selector Zabbix bucket_rate_foreach Supported only in calculated items. Functionally corresponds to ’histogram_quantile’ of PromQL. Returns -1 if values of the last ’Infinity’ bucket (”+inf”) are equal to 0. Example: => his- See common parameters. Supported value types: float, int Functionally corresponds to ’rate’ of PromQL. Example: => rate(/host/key,30s) → If the monotonic increase over 30 seconds is 20, this function