diff --git a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json index f6073d988e5..4a38a059883 100644 --- a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json +++ b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json @@ -101,7 +101,7 @@ { "name": "camel.metrics.log-metrics-on-shutdown-filters", "type": "java.lang.String", - "description": "List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available).", + "description": "List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available).", "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration" }, { diff --git a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java index 888edd5601e..62a8df3fa3e 100644 --- a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java +++ b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java @@ -102,8 +102,8 @@ public class CamelMetricsConfiguration { private boolean logMetricsOnShutdown = false; /** - * List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any - * metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available). + * List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any + * metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available). */ private String logMetricsOnShutdownFilters; diff --git a/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc b/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc index 54d74e42a2e..06b08147ce0 100644 --- a/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc +++ b/docs/spring-boot/modules/ROOT/pages/starters/micrometer.adoc @@ -39,7 +39,7 @@ The starter supports 18 options, which are listed below. | camel.metrics.enable-route-event-notifier | Set whether to enable the MicrometerRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running. | true | Boolean | camel.metrics.enable-route-policy | Set whether to enable the MicrometerRoutePolicyFactory for capturing metrics on route processing times. | true | Boolean | camel.metrics.log-metrics-on-shutdown | Log metrics when application is shutting down. (default, `false`). | false | Boolean -| camel.metrics.log-metrics-on-shutdown-filters | List of metrics (comma separated) to log when application is shutting down. You can use `*` character to log any metrics containing the wildcard, for example `camel.exchanges.*` (default to all metrics available). | | String +| camel.metrics.log-metrics-on-shutdown-filters | List of metrics (comma separated) to log when application is shutting down. You can use a wildcard to log any metrics matching a pattern, for example `camel.exchanges.*` (default to all metrics available). | | String | camel.metrics.log-metrics-on-shutdown-format | Format used to log metrics when application is shutting down. Either json (default) or prometheus format. | | String | camel.metrics.naming-strategy | Controls the name style to use for metrics. Default = uses micrometer naming convention. Legacy = uses the classic naming style (camelCase) | default | String | camel.metrics.route-policy-exclude-pattern | Pattern to exclude routes (by id) to capture. Multiple route ids can be separated by comma. | | String