Micrometer
JVM since1.5.0 Native since1.5.0
Collect various metrics directly from Camel routes using the Micrometer library.
What’s inside
-
Micrometer component, URI syntax:
micrometer:metricsType:metricsName
Please refer to the above link for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-micrometer</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Usage
This extension leverages Quarkus Micrometer. Quarkus supports a variety of Micrometer metric registry implementations.
Your application should declare one of the following dependencies, depending on the monitoring solution you want to work with.
Monitoring System | Dependency |
---|---|
Azure |
|
Datadog |
|
JMX (JVM mode only) |
|
Prometheus |
|
SignalFx |
|
Stackdriver |
|
StatsD |
|
Additional Camel Quarkus configuration
Configuration property | Type | Default |
---|---|---|
Set whether to enable the MicrometerRoutePolicyFactory for capturing metrics on route processing times. |
|
|
Set whether to enable the MicrometerMessageHistoryFactory 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. |
|
|
Set whether to enable the MicrometerExchangeEventNotifier for capturing metrics on exchange processing times. |
|
|
Set whether to enable the MicrometerRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running. |
|
|
Configuration property fixed at build time. All other configuration properties are overridable at runtime.