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 f38154a4dce3..db5c54920736 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 71499c703834..5ca7b4fa6cb9 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 @@ -101,8 +101,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 8b9ef7216033..28309a8b936c 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 17 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.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 | camel.metrics.route-policy-level | Sets the level of information to capture. Possible values are all,route,context. all = both context and routes. route = routes only. context = camel context only. | all | String