A demo for observability on spring boot with opentelemetry
To simulate the observability of the system, in this repository will use the opentelemetry open source.
The description of the observability is written on the opentelemetry
Observability lets you understand a system from the outside by letting you ask questions about that system without knowing its inner workings.
The main instrumented data is metric, trace and log.
Also you can create correlations between instrumented data.
Grafana can create interactive links for Explore visualizations to run queries related to presented data by setting up correlations.
Generate docker images from each application
./gradlew -x clean :order-application:jibDockerBuild
./gradlew -x clean :product-application:jibDockerBuildRun the docker compose!
docker compose up -dThere is a test simulation file for http API.
It is located on the http folder. If you test from using http file, you can easy to make the trace data on tempo.
### get order
GET http://localhost:8080/api/v1/orders/1
### get product
GET http://localhost:8081/api/v1/products/1
### place order
POST http://localhost:8080/api/v1/orders/place-order
Content-Type: application/json
{
"productId": 1
}Performance test is based on opensource locust
You can run the performance test by access locust-master endpoint 8089 port.
Performance test script is located on locustfile.py you can customization own performance test scenario.

