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

4.x Metrics JSON output lacks percentile and bucket entries #7848

Closed
tjquinno opened this issue Oct 19, 2023 · 0 comments · Fixed by #7849
Closed

4.x Metrics JSON output lacks percentile and bucket entries #7848

tjquinno opened this issue Oct 19, 2023 · 0 comments · Fixed by #7849
Assignees
Labels
4.x Version 4.x bug Something isn't working metrics P2

Comments

@tjquinno
Copy link
Member

Environment Details

  • Helidon Version: 4.x
  • Helidon SE or Helidon MP
  • JDK version:
  • OS:
  • Docker version (if applicable):

Problem Description

The JSON output format (no longer required by MP metrics but retained as a nice feature in Helidon 4.x) omits percentile and bucket output from timers and distribution summaries (histograms).

Steps to reproduce

Declare a timer (via a @Timed annotation in MP or

Metrics.globalRegistry().getOrCreate(Timer.builder("myTimer"));

in an app.

Then retrieve the JSON metrics output using curl -H "Accept: application/json" 'http://localhost:8080/observe/metrics'. The output does not include any percentiles (which Helidon sets up by default) or buckets (which are not created unless the app code assigns them for the timer or distribution summary).

@tjquinno tjquinno added bug Something isn't working metrics P2 4.x Version 4.x labels Oct 19, 2023
@tjquinno tjquinno self-assigned this Oct 19, 2023
@tjquinno tjquinno linked a pull request Oct 19, 2023 that will close this issue
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working metrics P2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant