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-default-otel!clj

(get-default-otel!)

Gets the default OpenTelemetry instance declared and used by clj-otel. If no instance has been previously set, this falls back to the global instance declared by OpenTelemetry Java.

Gets the default `OpenTelemetry` instance declared and used by `clj-otel`. If
no instance has been previously set, this falls back to the global instance
declared by OpenTelemetry Java.
sourceraw docstring

get-global-otel!clj

(get-global-otel!)

Gets the global OpenTelemetry instance declared by OpenTelemetry Java. If no instance has been previously set, this will attempt to configure an instance using the OpenTelemetry Java 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 declared by OpenTelemetry Java. If
no instance has been previously set, this will attempt to configure an
instance using the OpenTelemetry Java 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 default OpenTelemetry instance.

Gets the text map propagator of an `OpenTelemetry` instance `open-telemetry`
or the default `OpenTelemetry` instance.
sourceraw docstring

set-default-otel!clj

(set-default-otel! otel)

Sets the default OpenTelemetry instance declared and used by clj-otel. Returns otel.

Sets the default `OpenTelemetry` instance declared and used by `clj-otel`.
Returns `otel`.
sourceraw docstring

set-global-otel!clj

(set-global-otel! open-telemetry)

Sets the global OpenTelemetry instance declared by OpenTelemetry Java. The global instance may be set once only. Any attempts to set the global instance more than once will result in error.

Sets the global `OpenTelemetry` instance declared by OpenTelemetry Java. The
global instance may be set once only. Any attempts to set the global instance
more than once will result in error.
sourceraw docstring

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

× close