Skip to content

Two simple Go microservices instrumented with Jaeger+OpenTracing

License

Notifications You must be signed in to change notification settings

admin-andikem/jaeger-go-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jaeger Go Instrumentation Example

Two simple Go microservices where service-a calls service-b. Both services expose a /ping endpoint, instrumented with Jaeger+OpenTracing.

Getting Started

Start the example

Starts up the Jaeger all-in-one container, along with our example microservices.

$ make start

Run the example

Hit service-a's endpoint to trigger the trace.

$ curl -w '\n' http://localhost:8081/ping

Validate

Should see service-a -> service-b on STDOUT.

Go to http://localhost:16686/ and select service-a from the "Service" dropdown and click the "Find Traces" button.

Stop the example

Stop and remove containers.

$ make stop

About

Two simple Go microservices instrumented with Jaeger+OpenTracing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 81.1%
  • Dockerfile 13.0%
  • Makefile 5.9%