https://github.com/thomasvitale/micrometer-span-events-otel-demo
https://github.com/thomasvitale/micrometer-span-events-otel-demo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasvitale/micrometer-span-events-otel-demo
- Owner: ThomasVitale
- License: apache-2.0
- Created: 2024-08-12T13:32:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-15T16:40:30.000Z (about 1 year ago)
- Last Synced: 2025-02-07T08:26:43.312Z (8 months ago)
- Language: Java
- Size: 308 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# micrometer-span-events-otel-demo
Run the application with out-of-the-box Grafana LGTM stack via Testcontainers:
```shell
./gradlew bootTestRun
```Call the demo endpoint:
```shell
http :8080
```You can now visualize the generated metrics and traces.
Grafana is listening on port 3000. Check your container runtime to find the port to which is exposed to your localhost
and access Grafana from http://localhost:. The credentials are `admin`/`admin`.The application is automatically configured to export metrics and traces to the Grafana LGTM stack via OpenTelemetry.
In Grafana, you can query the traces from the "Explore" page, selecting the "Tempo" data source. You can also visualize metrics in "Explore > Metrics".