Metrics

This module is deprecated.

Purpose

To measure the performance of the application.

Auto Configuration

Metrics can be configured only via Auto configuration.

Metrics auto configuration starts only when you add this dependency to your application pom.xml:

Dependency
<dependency> <groupId>net.pricefx.integration</groupId> <artifactId>integration-manager-starter-metrics</artifactId> <version>1.0.5</version> </dependency>

Metrics auto configuration adds this bean to your spring context:

Class

Bean Name

Description

Class

Bean Name

Description

com.codahale.metrics.MetricRegistry

metricRegistry

 

org.apache.camel.component.metrics.routepolicy.MetricsRoutePolicyFactory

metricsRoutePolicyFactory

 

org.apache.camel.component.metrics.messagehistory.MetricsMessageHistoryFactory

metricsMessageHistoryFactory

 

net.pricefx.integration.metrics.CounterRoutePolicyFactory

counterRoutePolicyFactory

 

com.codahale.metrics.Slf4jReporter

slf4jReporter

 

If you want disable metrics, remove the dependency or add the property integration.metrics.enabled=false to your application.properties file.

IntegrationManager version 5.8.0