-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
24.0.0.Final
-
None
We have a problem configuring the global tags for Microprofile Metrics when deploying a war Artifact. The key to set is specified as "mp.metrics.tags" and is not picked up from the microprofile-config.properties in the application. However, when using environment variables the value is picked up and is shown in the metrics visible under http://localhost:9990/metrics.
As I was not sure if the Microprofile Spec allows this or not I checked against a Quarkus Applicaton which is also using smallrye-metrics and it worked. Either Quarkus enhanced the expected behaviour or Wildfly lacks something.
Also, the testcode in the attached zip shows that the configuration value from the microprofile-config.properties is indeed visible to Microprofile Config but somehow does not arrive in the metrics.
- is incorporated by
-
WFLY-17138 Convert MP Metrics subsystem to Admin-Only Mode
- Closed