Class CamelMicroProfileMetricsConfig


  • @ConfigRoot(name="camel.metrics",
                phase=BUILD_AND_RUN_TIME_FIXED)
    public final class CamelMicroProfileMetricsConfig
    extends Object
    • 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.
    • Constructor Detail

      • CamelMicroProfileMetricsConfig

        public CamelMicroProfileMetricsConfig()