Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

fira42073/otel-trace-propagation-example-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is example of trace propagation over 2 services

To check the system out, launch jaeger

podman run --rm --name jaeger   -e COLLECTOR_ZIPKIN_HOST_PORT=:9411   -p 5775:5775/udp   -p 6831:6831/udp   -p 6832:6832/udp   -p 5778:5778   -p 16686:16686   -p 14268:14268   -p 14250:14250   -p 9411:9411   jaegertracing/all-in-one:1.22

Then run both services

go run consumer/main.go
go run producer/main.go

And fire up a GET request to consumer service

http localhost:1323

Go to jaerer ui and search for traces

About

Example of propagating trace to other services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages