View Source OpentelemetryNebulex (opentelemetry_nebulex v0.1.0)
OpentelemetryNebulex uses telemetry
handlers to create OpenTelemetry
spans
from Nebulex command events.
Link to this section Summary
Functions
Initializes and configures telemetry handlers for a given cache.
Initializes and configures telemetry handlers for all caches.
Link to this section Functions
Initializes and configures telemetry handlers for a given cache.
Example:
OpentelemetryNebulex.setup([:blog, :partitioned_cache])
Initializes and configures telemetry handlers for all caches.
Use the [:nebulex, :cache, :init]
event to automatically discover caches, and attach
the handlers dynamically. It only works for caches that start after this function is called.
Example:
OpentelemetryNebulex.setup_all()