Class CamelMicroProfileMetricsConfig
- java.lang.Object
-
- org.apache.camel.quarkus.component.microprofile.metrics.runtime.CamelMicroProfileMetricsConfig
-
@ConfigRoot(name="camel.metrics", phase=BUILD_AND_RUN_TIME_FIXED) public final class CamelMicroProfileMetricsConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanenableCamelContextEventNotifierSet whether to enable the MicroProfileMetricsCamelContextEventNotifier for capturing metrics about the CamelContext, such as status and uptime.booleanenableExchangeEventNotifierSet whether to enable the MicroProfileMetricsExchangeEventNotifier for capturing metrics on exchange processing times.booleanenableMessageHistorySet whether to enable the MicroProfileMetricsMessageHistoryFactory for capturing metrics on individual route node processing times.booleanenableRouteEventNotifierSet whether to enable the MicroProfileMetricsRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.booleanenableRoutePolicySet whether to enable the MicroProfileMetricsRoutePolicyFactory for capturing metrics on route processing times.
-
Constructor Summary
Constructors Constructor Description CamelMicroProfileMetricsConfig()
-
-
-
Field Detail
-
enableRoutePolicy
@ConfigItem(defaultValue="true") public boolean enableRoutePolicy
Set whether to enable the MicroProfileMetricsRoutePolicyFactory for capturing metrics on route processing times.
-
enableMessageHistory
@ConfigItem(defaultValue="false") public boolean enableMessageHistory
Set whether to enable the MicroProfileMetricsMessageHistoryFactory for capturing metrics on individual route node processing times. Depending on the number of configured route nodes, there is the potential to create a large volume of metrics. Therefore, this option is disabled by default.
-
enableExchangeEventNotifier
@ConfigItem(defaultValue="true") public boolean enableExchangeEventNotifier
Set whether to enable the MicroProfileMetricsExchangeEventNotifier for capturing metrics on exchange processing times.
-
enableRouteEventNotifier
@ConfigItem(defaultValue="true") public boolean enableRouteEventNotifier
Set whether to enable the MicroProfileMetricsRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.
-
enableCamelContextEventNotifier
@ConfigItem(defaultValue="true") public boolean enableCamelContextEventNotifier
Set whether to enable the MicroProfileMetricsCamelContextEventNotifier for capturing metrics about the CamelContext, such as status and uptime.
-
-