labstack echo instrumentation example

An HTTP server using labstack echo 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 echo-server and echo-client services to run the example:

docker-compose up --detach echo-server echo-client

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

docker-compose logs echo-server

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

docker-compose down
Expand ▾ Collapse ▴


The Go Gopher

There is no documentation for this package.

Source Files