This project provides metrics libraries for Spring Reactor and coroutines in the package
com.dpranantha.asyncmetrics.util
. They are unit tested and are used in real production system as a library.
REST API application is created as an example.
Commands:
- Running example:
./mvnw spring-boot:run
or via IDE by runningAsyncMetricsApplication.kt
class. - Build and run unit-tests:
./mvnw clean install
. Integration test is not provided.
Urls:
- Swagger UI: http://localhost:8080/internal
- Actuator: http://localhost:8080/actuator
- Prometheus: http://localhost:8080/actuator/prometheus
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Coroutines section of the Spring Framework Documentation
- Resilience4J
- Spring Boot Actuator
- Spring Configuration Processor
- Prometheus
The following guides illustrate how to use some features concretely: