Soklet OpenTelemetry Integration 1.2.0 API
This library provides OpenTelemetry integration for Soklet by supplying
OpenTelemetryMetricsCollector,
an implementation of
MetricsCollector, and
OpenTelemetryLifecycleObserver,
an implementation of
LifecycleObserver.
Wire it into
SokletConfig
via .metricsCollector(...) and .lifecycleObservers(...) using either an
OpenTelemetry
instance, or via lower-level
Meter
and Tracer instances.
By default, standard HTTP metrics use OpenTelemetry Semantic Convention names, while Soklet-specific metrics are emitted for concepts such as Server-Sent Events. Trace spans use Soklet's parsed W3C trace context as the remote parent when available.
Please refer to the official documentation at https://www.soklet.com.
Packages