50ed370444
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]:
|
||
---|---|---|
.. | ||
opentelemetry_cowboy | ||
opentelemetry_ecto | ||
opentelemetry_oban | ||
opentelemetry_phoenix | ||
opentelemetry_redix |