opentelemetry-erlang-contrib/instrumentation
Andrew Rosa 50ed370444
Add OpenTelemetry integration to Redix (#29)
Initial approach follows Ecto instrumentation, recording spans for all
Redix `[:redix, :pipeline, :stop]` events.

The command sanitization is inspired-by and adapted from [Java
instrumentation][1], from where I've also copied the actual commands and
what configuration should they follow.

Network attributes are tracked via a "sidecar" process, which keeps
track of connection attributes also via `telemetry`. This extra bit of
bookkeeping is needed as command events doesn't include that piece of
information, unfortunately.

[1]: b2bc41453b/instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/db/RedisCommandSanitizer.java
2022-01-04 14:39:19 -07:00
..
opentelemetry_cowboy Otel 1.0.0-rc.4 updates (#54) 2021-12-28 16:39:06 -07:00
opentelemetry_ecto Otel 1.0.0-rc.4 updates (#54) 2021-12-28 16:39:06 -07:00
opentelemetry_oban Otel 1.0.0-rc.4 updates (#54) 2021-12-28 16:39:06 -07:00
opentelemetry_phoenix Make plug dependency explicit (#53) 2022-01-04 13:47:21 -07:00
opentelemetry_redix Add OpenTelemetry integration to Redix (#29) 2022-01-04 14:39:19 -07:00