Liking cljdoc? Tell your friends :D

taoensso.telemere.open-telemetry

Core OpenTelemetry handler and utils.

Needs `OpenTelemetry Java`,
  Ref. <https://github.com/open-telemetry/opentelemetry-java>.

get-default-logger-providerclj

(get-default-logger-provider)
Experimental, subject to change!! Feedback very welcome!
Returns `io.opentelemetry.api.logs.LoggerProvider` via:
  `AutoConfiguredOpenTelemetrySdk` when possible, or
  `GlobalOpenTelemetry` otherwise.
source

handler:open-telemetry-loggerclj

(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`.
source

IAttr+cljprotocol

source

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

× close