fiber-opentelemetry

command module
v0.0.0-...-9aeabc2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 4 Imported by: 0

README

Basic Example

This example shows how to trace every request (using fiber-opentelemetry package) to you fiber application.

Step by step

To run this example on your local machine please follow this instruction:

  1. Go to https://lightstep.com, create account and follow instruction (or you can just scroll down to see screenshots)
  2. You should already have token
  3. Fill it into main.go file
  4. Look at code and comments in main.go
  5. go run main.go
  6. Make some request to server, for example:
  7. curl -kL http://localhost:3000/
  8. curl -kL http://localhost:3000/nested/route
  9. Now go to lightstep dashboard to see result https://app.lightstep.com/:
  10. Traces grouped by route: img.png
  11. List of traces per route: img.png
  12. Trace details img.png
  13. Trace events img.png

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