Update querying function docs

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
This commit is contained in:
Carrie Edwards 2023-03-27 14:55:51 -07:00 committed by Ziqi Zhao
parent 2f9bc98b8a
commit f93ac97867
1 changed files with 22 additions and 0 deletions

View File

@ -200,6 +200,28 @@ observed values (in this case corresponding to “average request duration”):
/
histogram_count(rate(http_request_duration_seconds[10m]))
## `histogram_min()`
_This function only acts on native histograms, which are an experimental
feature. The behavior of this function may change in future versions of
Prometheus, including its removal from PromQL._
`histogram_min(v instant-vector)` returns the estimated minimum value stored in
a native histogram. This estimation is based on the lower boundary of the lowest
bucket that contains values in the native histogram. Samples that are not native
histograms are ignored and do not show up in the returned vector.
## `histogram_max()`
_This function only acts on native histograms, which are an experimental
feature. The behavior of this function may change in future versions of
Prometheus, including its removal from PromQL._
`histogram_max(v instant-vector)` returns the estimated maximum value stored in
a native histogram. This estimation is based on the upper boundary of the highest
bucket that contains values in the native histogram. Samples that are not native
histograms are ignored and do not show up in the returned vector.
## `histogram_fraction()`
_This function only acts on native histograms, which are an experimental