command module
v0.44.0 Latest Latest

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

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


gin-gonic instrumentation example

An HTTP server using gin-gonic and instrumentation. The server has a /users/:id endpoint. The server generates span information to stdout.

These instructions expect you have docker-compose installed.

Bring up the gin-server and gin-client services to run the example:

docker-compose up --detach gin-server gin-client

The gin-client service sends just one HTTP request to gin-server and then exits. View the span generated by gin-server in the logs:

docker-compose logs gin-server

Shut down the services when you are finished with the example:

docker-compose down


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