- Notifications
You must be signed in to change notification settings - Fork1
MicroProfile/SmallRye timer metrics for asynchronous methods
License
NotificationsYou must be signed in to change notification settings
traum-ferienwohnungen/smallrye-metrics-async-timed
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This library provides annotation-based timing for methods returning promised values, namelyjava.util.concurrent.CompletionStage
andio.smallrye.mutiny.Uni
.
Please add our bintray repository:
<repositories> <repository> <id>bintray</id> <name>JFrog Bintray Apache Maven Packages</name> <url>https://dl.bintray.com/traum-ferienwohnungen/maven</url> </repository></repositories>
This library assumesio.smallrye:smallrye-metrics
is available at runtime.Therefore, the minimum set of dependencies looks as follows:
<dependencies><!-- When from quarkus use io.quarkus:quarkus-smallrye-metrics instead--> <dependency> <groupId>io.smallrye</groupId> <artifactId>smallrye-metrics</artifactId> <version>2.4.x</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.traum</groupId> <artifactId>smallrye-metrics-async-timed</artifactId> <version>RELEASE</version> <scope>test</scope> </dependency></dependencies>
Annotate any bean method returning one of the aforementioned types withcom.traum.microprofile.metrics.annotation.AsyncSimplyTimed
,instead of MicroProfile'sSimplyTimed
.
About
MicroProfile/SmallRye timer metrics for asynchronous methods
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.