rolldice

command module
v0.3.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Example of Auto instrumentation of HTTP server

Rolldice server exposes an endpoint /rolldice. When we hit the endpoint, it returns a random number between 1-6.

For testing auto instrumentation, we can use the docker compose.

To run the example, bring up the services using the command.

docker compose up 

Now, you can hit roll dice server using the below command

curl localhost:8080/rolldice

Every hit to the server should generate a trace that we can observe in Jaeger UI

Example trace Image

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL