OpenTelemetry handler using `opentelemetry-java`, Ref. <https://github.com/open-telemetry/opentelemetry-java>.
(default-logger-provider)
Experimental, subject to change. Feedback welcome! Returns `io.opentelemetry.api.logs.LoggerProvider` via: `AutoConfiguredOpenTelemetrySdk` when possible, or `GlobalOpenTelemetry` otherwise. See the relevant `opentelemetry-java` docs for details.
(handler:open-telemetry-logger)
(handler:open-telemetry-logger {:keys [logger-provider attrs-signal-key]
:or {logger-provider (default-logger-provider)
attrs-signal-key :open-telemetry/attrs}})
Experimental, subject to change. Feedback welcome! Needs `opentelemetry-java`, Ref. <https://github.com/open-telemetry/opentelemetry-java>. Returns a (fn handler [signal]) that: - Takes a Telemere signal. - Emits signal content to the `io.opentelemetry.api.logs.Logger` returned by given `io.opentelemetry.api.logs.LoggerProvider`. Options: `:logger-provider` - `io.opentelemetry.api.logs.LoggerProvider` Defaults to the LoggerProvider returned by (default-logger-provider), see that docstring for details.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close