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

Bug fix to strictly match Prometheus format spec + rename last_result… #684

Merged
merged 1 commit into from Oct 1, 2017

Conversation

slynn1324
Copy link
Contributor

… to last_value in metric names for consistency.

Modified MonitoringController.java

  • set the proper ContentType header for Prometheus format

Modified PrometheusController.java

  • change 'last_result' to 'last_value' in metric names for consistency.
  • remove the "fields" extension from the # HELP and # TYPE lines to conform to Prometheus format spec

Apologies for the second PR.

… to last_value in metric names for consistency.

Modified MonitoringController.java
 - set the proper ContentType header for Prometheus format
Modified PrometheusController.java
 - change '_last_result_' to '_last_value_' in metric names for consistency.
 - remove the "fields" extension from the # HELP and # TYPE lines to conform to Prometheus format spec
@evernat evernat merged commit 61afb17 into javamelody:master Oct 1, 2017
@evernat
Copy link
Member

evernat commented Oct 1, 2017

merged

goldyliang pushed a commit to goldyliang/javamelody that referenced this pull request Mar 17, 2022
… to last_value in metric names for consistency. (javamelody#684)

Modified MonitoringController.java
 - set the proper ContentType header for Prometheus format
Modified PrometheusController.java
 - change '_last_result_' to '_last_value_' in metric names for consistency.
 - remove the "fields" extension from the # HELP and # TYPE lines to conform to Prometheus format spec
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.

None yet

2 participants