Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library provides annotation-based timing for methods returning promised values, namelyjava.util.concurrent.CompletionStage andio.smallrye.mutiny.Uni.

Installation

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>

Usage

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

Stars

Watchers

Forks

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp