This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d59028  CAMEL-19136: camel-micrometer-starter - Turn of metrics with 
uri tag by default as it can lead to too many tags due to dynamic values.
9d59028 is described below

commit 9d59028a99fcf2d3a4a71ab2a5ae7747cd5788a4
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Mar 19 11:19:57 2023 +0100

    CAMEL-19136: camel-micrometer-starter - Turn of metrics with uri tag by 
default as it can lead to too many tags due to dynamic values.
---
 rest-openapi/src/main/resources/application.properties | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rest-openapi/src/main/resources/application.properties 
b/rest-openapi/src/main/resources/application.properties
index 5923779..69959a9 100644
--- a/rest-openapi/src/main/resources/application.properties
+++ b/rest-openapi/src/main/resources/application.properties
@@ -47,5 +47,7 @@ management.metrics.enable.http=true
 management.endpoints.web.exposure.include=mappings,metrics,shutdown,prometheus
 
 # camel metrics can be configured
-# beware if you have a lot of dynamic uris then turn this off
 camel.metrics.uriTagEnabled = true
+# the uri tag is by default static (/users/{id}), you can turn on dynamic that 
uses the actual value (users/1, users/2 etc)
+# beware if you have a lot of dynamic uris then this can lead to too many tags 
issue in prometheus
+# camel.metrics.uriTagDynamic = true

Reply via email to