Functions that operate on io.opentelemetry.api.OpenTelemetry
,
the entrypoint to telemetry functionality.
Functions that operate on `io.opentelemetry.api.OpenTelemetry`, the entrypoint to telemetry functionality.
(get-global-otel!)
Gets the global OpenTelemetry
instance. If no instance has been previously
set, this will attempt to configure an instance using the OpenTelemetry SDK
autoconfigure module if present on the classpath. The configured instance (or
a no-op instance if autoconfiguration failed or otherwise did not occur) will
also be set as the global instance i.e. this function is side-effecting if no
instance was previously set.
Gets the global `OpenTelemetry` instance. If no instance has been previously set, this will attempt to configure an instance using the OpenTelemetry SDK autoconfigure module if present on the classpath. The configured instance (or a no-op instance if autoconfiguration failed or otherwise did not occur) will also be set as the global instance i.e. this function is side-effecting if no instance was previously set.
(get-noop)
Gets a no-op OpenTelemetry
instance.
Gets a no-op `OpenTelemetry` instance.
(get-text-map-propagator)
(get-text-map-propagator open-telemetry)
Gets the text map propagator of an OpenTelemetry
instance
open-telemetry
or the global OpenTelemetry
instance.
Gets the text map propagator of an `OpenTelemetry` instance `open-telemetry` or the global `OpenTelemetry` instance.
(set-global-otel! open-telemetry)
Sets the global OpenTelemetry
instance. This function may be evaluated
once only. Any attempts to evaluate this more than once will result in an
error.
Sets the global `OpenTelemetry` instance. This function may be evaluated once only. Any attempts to evaluate this more than once will result in an error.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close