Components
Quick links:
Maven Central
View the latest dependencies in Maven central.
API
Provides the public API for adding metrics via the MetricManager.
<dependency>
<groupId>org.avaje.metric</groupId>
<artifactId>avaje-metric-api</artifactId>
<version>4.4.0</version>
</dependency>
Core
The default implementation of the API. Additionally has
MetricReportManager
which collects the metrics
and sends them to reporters.
<dependency>
<groupId>org.avaje.metric</groupId>
<artifactId>avaje-metric-core</artifactId>
<version>4.4.1</version>
</dependency>
Agent
The enhancement agent. Typically used via the maven plugin.
<dependency>
<groupId>org.avaje.metric</groupId>
<artifactId>avaje-metric-agent</artifactId>
<version>4.2.1</version>
</dependency>
Maven Enhancement Plugin
Maven plugin to perform the enhancement.
<build>
<plugins>
<plugin>
<groupId>org.avaje.metric</groupId>
<artifactId>enhance-maven-plugin</artifactId>
<version>4.2.1</version>
<executions>
<execution>
<id>main</id>
<phase>process-classes</phase>
<configuration>
<packages>org.example.myapp.**</packages>
<transformArgs>debug=1</transformArgs>
</configuration>
<goals>
<goal>enhance</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Logback
Provides a Logback appender that has counters for the number of Error and Warning messages that are logged.
CXF
Code needs updating.
EbeanORM
Planned.