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

backstage-plugin-prometheus - Wrong time format in Line/Graph X-Axis label #1306

Closed
tonynguyen-ccl opened this issue Mar 27, 2024 · 1 comment
Labels
kind/bug Something isn't working

Comments

@tonynguyen-ccl
Copy link

tonynguyen-ccl commented Mar 27, 2024

Expected Behavior

The X-Axis label display correct time in the format of HH:mm:ss

Current Behavior

It is displaying the month instead.

Steps to Reproduce

  • Just use the PrometheusGraph and you will see the bug. (Please note this is an old screenshot I took in January.)
image (1) copy

Possible Solution

  • These 2 lines here and here, the format should be changed to HH:mm:ss instead of capital MM

Context

Your Environment

  • @backstage/plugin-catalog-react version:
  • @backstage/integration version:
@tonynguyen-ccl tonynguyen-ccl added the kind/bug Something isn't working label Mar 27, 2024
@jomeier
Copy link
Contributor

jomeier commented May 14, 2024

Hi, yes that seems to fix the wrong time on the X axis.

The grid is still wrong (last line missing). But a '5' or '10' here and here does fix it :)

jomeier added a commit to jomeier/roadie-backstage-plugins that referenced this issue May 15, 2024
Xantier added a commit that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants