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

Use openMetrics format #87

Conversation

anton-balaniuc
Copy link

Instead of "application:get_properties" openMetrics "application_getProperties" format is used.

OpenMetrics text format - used when the HTTP Accept header best matches text/plain
or when Accept header would equally accept both text/plain and application/json
and there is no other higher precedence format.
This format is also returned when no media type is requested (i.e. no Accept header is provided in the request)
https://download.eclipse.org/microprofile/microprofile-metrics-2.1.0/microprofile-metrics-spec-2.1.0.html#_openmetrics_format

Signed-off-by: Anton Balaniuc [email protected]

Instead of "application:get_properties" openMetrics "application_getProperties" format is used.

OpenMetrics text format - used when the HTTP Accept header best matches text/plain
or when Accept header would equally accept both text/plain and application/json
and there is no other higher precedence format.
This format is also returned when no media type is requested (i.e. no Accept header is provided in the request)
https://download.eclipse.org/microprofile/microprofile-metrics-2.1.0/microprofile-metrics-spec-2.1.0.html#_openmetrics_format

Signed-off-by: Anton Balaniuc [email protected]
@gkwan-ibm
Copy link
Member

close

@gkwan-ibm gkwan-ibm closed this Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants