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
    boolean
    Set whether to enable the MicroProfileMetricsCamelContextEventNotifier for capturing metrics about the CamelContext, such as status and uptime.
    boolean
    Set whether to enable the MicroProfileMetricsExchangeEventNotifier for capturing metrics on exchange processing times.
    boolean
    Set whether to enable the MicroProfileMetricsMessageHistoryFactory for capturing metrics on individual route node processing times.
    boolean
    Set whether to enable the MicroProfileMetricsRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.
    boolean
    Set whether to enable the MicroProfileMetricsRoutePolicyFactory for capturing metrics on route processing times.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • CamelMicroProfileMetricsConfig

      public CamelMicroProfileMetricsConfig()