mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-04 10:00:10 -05:00
96557a95ae
This adds tracing to the settings service. It uses the otelchi package and passes the tracing provider to the grpc and http servers.
1.2 KiB
1.2 KiB
otelchi
OpenTelemetry instrumentation for go-chi/chi.
Essentialy this is adaptation from otelmux but instead using gorilla/mux, we use go-chi/chi.
Currently it could 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 Open Telemetry Go instrumentation project. However based on this comment they no longer accept new instrumentation. This is why I maintain this project here.