[ https://issues.apache.org/jira/browse/GERONIMO-6880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935821#comment-17935821 ]
Romain Manni-Bucau commented on GERONIMO-6880: ---------------------------------------------- [~arne] understood "histogram summary" was the issue (and should be "summary" instead). If it is about migrating the reporting it should be in OpenMetricsFormatter (overriding what is needed to be original prometheus in "legacy" mode IMHO). We should just align on [https://github.com/microprofile/microprofile-metrics/blob/5.0.0/spec/src/main/asciidoc/rest-endpoints.adoc.] I wouldn't drop neither help nor type lines since at the end it is needed either by tck or by some scrapers. > [Metrics] Using a histogram leads to error in prometheus > -------------------------------------------------------- > > Key: GERONIMO-6880 > URL: https://issues.apache.org/jira/browse/GERONIMO-6880 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Metrics > Reporter: Arne Limburg > Priority: Major > > When using a histogram in geronimo-metrics 1.0.6, Prometheus 3.2.0 gives the > error: > invalid metric type "summary histogram" > > I can provide a fix, but I don't know, how the correct behavior would be. > Just delete the line, that creates that "summary histogram" metric type? -- This message was sent by Atlassian Jira (v8.20.10#820010)