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

Custom graph resolution renders no datapoint #3028

Closed
sebbonnet opened this Issue Aug 7, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@sebbonnet
Copy link

sebbonnet commented Aug 7, 2017

What did you do?

Created 2 graphs in prometheus:

  • up{job="cassandra", environment="stage"} leaving the default resolution - the calculated resolution shows 43s
  • same graph with a custom resolution of 43s

http:///graph?g0.range_input=3h&g0.end_input=2017-08-04+23%3A11&g0.expr=up%7Bjob%3D%22cassandra%22%2C+environment%3D%22stage%22%7D&g0.tab=0&g1.range_input=3h&g1.end_input=2017-08-04+23%3A11&g1.step_input=43&g1.expr=up%7Bjob%3D%22cassandra%22%2C+environment%3D%22stage%22%7D&g1.tab=0

What did you expect to see?

Both graphs should display the same data points

What did you see instead? Under which circumstances?

The first graph with no custom resolution correctly display the datapoints, while the second graph with the custom resolution (taken from the calculated resolution of first graph) doesn't show any datapoint.

prometheus-resolution-issue

Environment

  • System information:
  • Client (browser): Linux 4.11.8-200.fc25.x86_64 x86_64, Firefox 54.0 (64-bit) or Google Chrome 61.0.3163.13 (Official Build) dev (64-bit)
  • Server (prometheus): Linux 4.4.0-89-generic x86_64
  • Prometheus version:
gc 1 @0.012s 0%: 0.22+0.72+0.084 ms clock, 0.66+0.23/0.58/0.42+0.25 ms cpu, 4->4->1 MB, 5 MB goal, 16 P
gc 2 @0.021s 1%: 0.051+0.62+0.33 ms clock, 0.36+0.10/1.0/1.1+2.3 ms cpu, 4->4->1 MB, 5 MB goal, 16 P
gc 3 @0.032s 1%: 0.052+0.45+0.11 ms clock, 0.63+0.042/1.0/0.55+1.4 ms cpu, 4->4->1 MB, 5 MB goal, 16 P
gc 4 @0.040s 1%: 0.039+0.75+0.13 ms clock, 0.55+0.10/1.3/0.30+1.8 ms cpu, 4->4->2 MB, 5 MB goal, 16 P
gc 5 @0.049s 2%: 0.012+0.44+0.14 ms clock, 0.19+0.11/1.1/1.5+2.3 ms cpu, 4->4->2 MB, 5 MB goal, 16 P
gc 6 @0.054s 2%: 0.013+0.48+0.15 ms clock, 0.21+0.068/1.4/1.3+2.4 ms cpu, 4->4->2 MB, 5 MB goal, 16 P
gc 7 @0.064s 2%: 0.012+0.87+0.17 ms clock, 0.19+0.11/1.8/1.5+2.7 ms cpu, 5->5->3 MB, 6 MB goal, 16 P
prometheus, version 1.7.1 (branch: master, revision: 3afb3fffa3a29c3de865e1172fb740442e9d0133)
  build user:       root@0aa1b7fc430d
  build date:       20170612-11:44:05
  go version:       go1.8.3
@andrewhowdencom

This comment has been minimized.

Copy link

andrewhowdencom commented Aug 7, 2017

Possible dupe of #2827

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Aug 21, 2017

Yes, this should already be fixed in master.

@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.