opentelemetry-erlang-contrib/instrumentation
Andrew Rosa dfed96874f
Add Nebulex instrumentation library (#83)
Add instrumentation for Nebulex, a distributed cache library. This
library provides solid telemetry support for this initial
implementation.

Caching implementation is mostly based on in-memory storage (like ETS)
and RPC calls for distribution (via OTP libraries, like :erpc). AFAICT,
there is not much specifics for how to translate into Semantic
Attributes: those caches are not quite a DB, except maybe for the one
which implements the storage; the RPC can't be reliably captured
either.

Given the above constraints, this initial implementation instruments the
library via custom attributes (namespaced as `nebulex.*`). It's not 100%
clear the behaviour of OTel for actual distributed caches - from my
tests, that may create some orphan spans. I think that's fine as first
release.

Nebulex follow the patterns of Ecto, so this instrumentation follows a
similar pattern of OpentelemetryEcto. It does include a `setup_all/1`
function for convenience, that leverages the :init events Nebulex emit
on process start.

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2022-12-14 17:38:18 -07:00
..
opentelemetry_cowboy Add server span kind to otel cowboy (#116) 2022-11-10 04:15:15 -07:00
opentelemetry_ecto publish latest updates (#127) 2022-11-16 19:07:23 -07:00
opentelemetry_elli bump otel-elli version number (#74) 2022-03-28 10:13:13 -06:00
opentelemetry_finch update elixir package deps (#126) 2022-11-15 17:48:50 -07:00
opentelemetry_grpcbox [grpcbox] add grpc conventions (#130) 2022-12-01 15:37:47 -07:00
opentelemetry_nebulex Add Nebulex instrumentation library (#83) 2022-12-14 17:38:18 -07:00
opentelemetry_oban chore: add sc to oban (#138) 2022-12-14 16:48:27 -07:00
opentelemetry_phoenix chore: add semantic conventions to phoenix (#121) 2022-12-12 13:51:54 -07:00
opentelemetry_redix update elixir package deps (#126) 2022-11-15 17:48:50 -07:00
opentelemetry_tesla update elixir package deps (#126) 2022-11-15 17:48:50 -07:00