Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

histogram_quantile error result #3769

Closed
Jaware opened this Issue Jan 31, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@Jaware
Copy link

Jaware commented Jan 31, 2018

prometheus 1.7.1
my query is:histogram_quantile(0.95, rate(http_server_requests_bucket{app="puhui-decision-server"}[30m]))
the result is:
image
it is obvious that "/prometheus" can not be 0.95
when i use 0.90 query :histogram_quantile(0.90, rate(http_server_requests_bucket{app="puhui-decision-server"}[30m]))
image

the result is 0.90 ,why is that the result is decided by φ-quantile? so weird

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jan 31, 2018

Can you share the result of the rate()?

@Jaware

This comment has been minimized.

Copy link
Author

Jaware commented Feb 2, 2018

sorry ,little busy
image

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Feb 2, 2018

Those are different queries for different jobs and instances, different results are to be expected.

@Jaware

This comment has been minimized.

Copy link
Author

Jaware commented Feb 5, 2018

they are not different jobs,job is all the same("all"),i can not find out why

@Jaware

This comment has been minimized.

Copy link
Author

Jaware commented Feb 5, 2018

can you show me how to use histogram_quantile correctly? it seems as if my query is wrong @brian-brazil

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.