/otelchi

OpenTelemetry instrumentation for go-chi/chi

Primary LanguageGoApache License 2.0Apache-2.0

otelchi

compatibility-test Go Report Card Documentation

OpenTelemetry instrumentation for go-chi/chi.

Essentially this is an adaptation from otelmux but instead of using gorilla/mux, we use go-chi/chi.

Currently, this library can only instrument traces.

Contributions are welcomed!

Install

$ go get github.com/riandyrn/otelchi

Examples

See examples for details.

Why Port This?

I was planning to make this project as part of the Open Telemetry Go instrumentation project. However, based on this comment they no longer accept new instrumentation. This is why I maintain this project here.