Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.api.otel

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.
raw docstring

get-global-otel!clj

(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.
sourceraw docstring

get-noopclj

(get-noop)

Gets a no-op OpenTelemetry instance.

Gets a no-op `OpenTelemetry` instance.
sourceraw docstring

get-text-map-propagatorclj

(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.
sourceraw docstring

set-global-otel!clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close