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

Increase/Delta/Rate functions #2637

Closed
cemo opened this Issue Apr 18, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@cemo
Copy link

cemo commented Apr 18, 2017

I am using prometheus 1.5.1 and having some issues regarding some functions and their documentation. First of all, It would be really nice to demonstrate some examples in the documentation. It is really hard to understand root cause of a problem.

I am experimenting prometheus and came across a case where numbers does not make sense.

Scrape Interval: 30s
Range duration: 60s (Every range vector contains 2 points for per serie)

When I use increase function, I have results doubled. I mean actual difference is 5 but result is 10. I think that it has a computation like diff / interval_count * data_point_count. I verified this behaviour for larger range duration as well.

I quickly glimpsed functions implementation but could not understand some parts.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Apr 18, 2017

@cemo

This comment has been minimized.

Copy link
Author

cemo commented Apr 18, 2017

Thank you so much @brian-brazil. I had really tried hard to find a reference. I will watch it.

@alex88

This comment has been minimized.

Copy link

alex88 commented Jul 15, 2017

@cemo same issue here, have you found a solution?

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 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 23, 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.