Liking cljdoc? Tell your friends :D

taoensso.telemere.open-telemetry

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

default-logger-providerclj

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

handler:open-telemetry-loggerclj

(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 (map).
  - Emits the signal to `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.
source

IAttr+cljprotocol

source

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

× close