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

prometheus expression browser: problem with float rounding of the scale tick labels #3411

Closed
marcindulak opened this Issue Nov 4, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@marcindulak
Copy link

marcindulak commented Nov 4, 2017

What did you do?

Visualizing simple queries in the expression browser

What did you expect to see?

The scale tick labels use reasonably rounded floats

What did you see instead? Under which circumstances?

The scale ticks labels include too many digits. This changes depending on the selected time range.

screenshot from 2017-11-04 19-13-06

Environment

  • System information:

$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

$ uname -srm
Linux 3.10.0-693.5.2.el7.x86_64 x86_64

  • Prometheus version:

$ prometheus --version
prometheus, version 1.8.1 (branch: HEAD, revision: 3a7c51a)
build user: root@ab78fb101775
build date: 20171023-15:50:57
go version: go1.9.1

Installed from https://github.com/lest/prometheus-rpm

google-chrome Version 62.0.3202.75 (Official Build) (64-bit)

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Apr 9, 2019

Closing in favor of #3595

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