Skip to content

jamesstocktonj1/echo-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Proxy + Jaeger Example

This project aims to demonstrate the use of Echo with the proxy and jaeger tracing middleware.

Getting Started

You can launch the project by running the following command:

docker compose up -d --build

And test by calling the following endpoint:

curl localhost:8080/hello

You can then view the tracing by going to localhost:16686 in your browser.

Tracing Issue

There is currently an issue with the jaegertracing middleware in that when it is combined with the builtin proxy middleware. It creates a new span within the current echo.Context but it is not propagated in the headers which the proxy middleware forwards to the next service. Therefore rather than one continuous span from the proxy to the service and back. It ends up with two spans, one from the proxy and one from the service.

About

Echo Jaeger + Proxy Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published