Apache Camel Data metrics
Metrics that are produced by Apache Camel 1) out of the box per each route 2) manually added to meter the critical parts of the Camel routes
Example of manually set up metrics set up for the Camel route:
Enable routes’ out of box metrics with
@Configuration public class MetricsConfig {
@Bean
public CamelContextConfiguration camelContextConfiguration() {
return new CamelContextConfiguration() {
@Override
public void beforeApplicationStart(CamelContext camelContext) {
camelContext.addRoutePolicyFactory(new MicrometerRoutePolicyFactory());
camelContext.setMessageHistoryFactory(new MicrometerMessageHistoryFactory());
}
@Override
public void afterApplicationStart(CamelContext camelContext) {
}
};
}
}
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |