Skip to content

Two simple Go microservices instrumented with Jaeger+OpenTelemetry

License

Notifications You must be signed in to change notification settings

albertteoh/jaeger-go-example

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 the OpenTelemetry SDK.

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

Linting

make lint

About

Two simple Go microservices instrumented with Jaeger+OpenTelemetry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published