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
FieldsModifier and TypeFieldDescriptionbooleanSet whether to enable the MicroProfileMetricsCamelContextEventNotifier for capturing metrics about the CamelContext, such as status and uptime.booleanSet whether to enable the MicroProfileMetricsExchangeEventNotifier for capturing metrics on exchange processing times.booleanSet whether to enable the MicroProfileMetricsMessageHistoryFactory for capturing metrics on individual route node processing times.booleanSet whether to enable the MicroProfileMetricsRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.booleanSet whether to enable the MicroProfileMetricsRoutePolicyFactory for capturing metrics on route processing times. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enableRoutePolicy
@ConfigItem(defaultValue="true") public boolean enableRoutePolicySet whether to enable the MicroProfileMetricsRoutePolicyFactory for capturing metrics on route processing times. -
enableMessageHistory
@ConfigItem(defaultValue="false") public boolean enableMessageHistorySet 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 enableExchangeEventNotifierSet whether to enable the MicroProfileMetricsExchangeEventNotifier for capturing metrics on exchange processing times. -
enableRouteEventNotifier
@ConfigItem(defaultValue="true") public boolean enableRouteEventNotifierSet 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 enableCamelContextEventNotifierSet whether to enable the MicroProfileMetricsCamelContextEventNotifier for capturing metrics about the CamelContext, such as status and uptime.
-
-
Constructor Details
-
CamelMicroProfileMetricsConfig
public CamelMicroProfileMetricsConfig()
-