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

[Helidon 4 SE] Metrics format not compatible with Prometheus: data does not end with # EOF #7981

Closed
dili91 opened this issue Nov 9, 2023 · 0 comments · Fixed by #7982
Closed
Assignees
Labels
4.x Version 4.x bug Something isn't working metrics P2
Milestone

Comments

@dili91
Copy link

dili91 commented Nov 9, 2023

Environment Details

  • Helidon Version: 4
  • Helidon SE
  • JDK version: 21
  • OS: macOs Ventura 13.6.1
  • Docker version: 20.10.17
  • Prometheus version (Docker): prom/prometheus:v2.4.72

Problem Description

I'm not able to configure Prometheus to ingest the metrics exposed at the /observe/metrics endpoint as described in this guide.
The error I'm getting on Prometheus when trying to scrape the endpoint is data does not end with # EOF, which seems similar to what is described on issue #4884 for Helidon 2.x and 3.x.

Screenshot 2023-11-09 at 10 22 28

Steps to reproduce

  • Follow this guide and register the default metrics.
  • Spin up a Prometheus docker container and add the /observe/metrics endpoint as target.
  • Check the target status on ${prometheusHost:Port}/targets
@barchetta barchetta added 4.x Version 4.x metrics bug Something isn't working labels Nov 9, 2023
@barchetta barchetta added this to the 4.0.1 milestone Nov 9, 2023
@barchetta barchetta added the P2 label Nov 9, 2023
@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.

3 participants