Skip to content

violetagg/netty-observation-repro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactor-Netty Observation issue repro

Reproducible example for the tracing issue discussed in #2791

The observability stack for receiving logs/traces/metrics is in stack/, taken from https://github.com/marcingrzejszczak/observability-boot-blog-post with some small edits
Make sure that it is up before running
Note that Prometheus uses host.docker.internal, if on Linux use --add-host=host.docker.internal:host-gateway
(or edit src/main/resources/* to use existing servers if desired)

Compile and run using mvn compile exec:java (note: Java 17+)

Then hit http://localhost:8085/test with a GET request
One of the log entries in the terminal should have the trace ID to query on Tempo (http://localhost:3000/explore)

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%