example

command module
v0.0.0-...-6425eb3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 13 Imported by: 0

README


id: otelfiber-example

Example

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

docker-compose up --detach fiber-server fiber-client

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

docker-compose logs fiber-server

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

docker-compose down

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