Core OpenTelemetry handler and utils. Needs `OpenTelemetry Java`, Ref. <https://github.com/open-telemetry/opentelemetry-java>.
(get-default-logger-provider)
Experimental, subject to change!! Feedback very welcome! Returns `io.opentelemetry.api.logs.LoggerProvider` via: `AutoConfiguredOpenTelemetrySdk` when possible, or `GlobalOpenTelemetry` otherwise.
(handler:open-telemetry-logger)
(handler:open-telemetry-logger {:keys [logger-provider attrs-key]
:or {logger-provider
(get-default-logger-provider)
attrs-key :open-telemetry-attrs}})
Experimental, subject to change!! Feedback very welcome! 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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close