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

[Metrics] Wrong MIME Type returned by prometheus endpoint #1937

Closed
gramian opened this issue Jan 28, 2025 · 2 comments
Closed

[Metrics] Wrong MIME Type returned by prometheus endpoint #1937

gramian opened this issue Jan 28, 2025 · 2 comments
Assignees
Labels
bug Something isn't working fixed
Milestone

Comments

@gramian
Copy link
Collaborator

gramian commented Jan 28, 2025

ArcadeDB Version:

ArcadeDB Server v25.1.1

The response MIME type from the Prometheus endpoint, ie: http://localhost:2480/prometheus is application/json but should be text/plain.

Reproduce

Start ArcadeDB Server:

bin/server.sh -Darcadedb.serverMetrics=true -Darcadedb.server.plugins="Prometheus:com.arcadedb.metrics.prometheus.PrometheusMetricsPlugin" -Darcadedb.server.rootPassword=password

Request Metrics:

curl -s -u root:password -o /dev/null -w '%{content_type}' 'http://localhost:2480/prometheus'
@gramian gramian changed the title [Metric] Wrong MIME Type returned by prometheus endpoint [Metrics] Wrong MIME Type returned by prometheus endpoint Jan 28, 2025
@robfrank robfrank self-assigned this Jan 28, 2025
@robfrank robfrank added the bug Something isn't working label Jan 28, 2025
@robfrank robfrank added this to the 25.2.1 milestone Jan 28, 2025
@robfrank robfrank added the fixed label Jan 28, 2025
@robfrank
Copy link
Collaborator

Fixed!

@gramian
Copy link
Collaborator Author

gramian commented Jan 28, 2025

LGTM! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants