You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.4 KiB
Markdown
76 lines
2.4 KiB
Markdown
<a href="https://github.com/sgoudham/micronaut-trace/stargazers"><img src="https://img.shields.io/github/stars/sgoudham/micronaut-trace?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
|
|
<a href="https://github.com/sgoudham/micronaut-trace/issues"><img src="https://img.shields.io/github/issues/sgoudham/micronaut-trace?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
|
|
<a href="https://github.com/sgoudham/micronaut-trace/contributors"><img src="https://img.shields.io/github/contributors/sgoudham/micronaut-trace?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
|
|
<a href="https://search.maven.org/artifact/me.goudham/micronaut-trace"><img src="https://img.shields.io/maven-central/v/me.goudham/micronaut-trace?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
|
|
|
|
# micronaut-trace
|
|
|
|
> A Java annotation library to trace and time your method executions, written using [Micronaut](https://micronaut.io/).
|
|
|
|
## Installation
|
|
|
|
Be sure to replace the **VERSION** key below with the version shown above!
|
|
|
|
### Maven
|
|
|
|
```xml
|
|
<!-- https://mvnrepository.com/artifact/me.goudham/micronaut-trace -->
|
|
|
|
<dependency>
|
|
<groupId>me.goudham</groupId>
|
|
<artifactId>micronaut-trace</artifactId>
|
|
<version>VERSION</version>
|
|
</dependency>
|
|
```
|
|
|
|
### Gradle
|
|
|
|
```gradle
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// https://mvnrepository.com/artifact/me.goudham/micronaut-trace
|
|
implementation group: 'me.goudham', name: 'micronaut-trace', version: 'VERSION'
|
|
}
|
|
```
|
|
|
|
### Binaries
|
|
|
|
If you choose not to use a build tool, pre-built `.jar` files are available with every
|
|
single [release](https://github.com/sgoudham/micronaut-trace/releases).
|
|
|
|
## Usage
|
|
|
|
TODO
|
|
|
|
## Contributing
|
|
|
|
TODO
|
|
|
|
### Development
|
|
|
|
This project uses the build tool [Maven](https://maven.apache.org/) from the java ecosystem. It is *highly* recommended
|
|
to develop using [Intellij IDEA](https://www.jetbrains.com/idea/) as it will allow you to take advantage of its
|
|
integration with maven tooling.
|
|
|
|
The project can be built using the command:
|
|
|
|
```shell
|
|
./mvnw clean package
|
|
```
|
|
|
|
and running tests is as simple as:
|
|
|
|
```shell
|
|
./mvnw test
|
|
```
|
|
|
|
A great 5-minute introduction to Maven can be
|
|
found [here](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html).
|
|
|
|
### CI / CD
|
|
|
|
This project has a GitHub actions workflow to automatically build binaries and deploy to maven central. The workflows
|
|
are stored at [.github/workflows](.github/workflows) |