OpenTelemetry handler using `opentelemetry-java`, Ref. <https://github.com/open-telemetry/opentelemetry-java>, <https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/latest/index.html>
(handler:open-telemetry)
(handler:open-telemetry {:keys [emit-tracing? logger-provider]
:or {emit-tracing? true}})
Highly experimental, possibly buggy, and subject to change!! Feedback and bug reports very welcome! Please ping me (Peter) at: <https://www.taoensso.com/telemere> or <https://www.taoensso.com/telemere/slack> Needs `opentelemetry-java`, Ref. <https://github.com/open-telemetry/opentelemetry-java>. Returns a signal handler that: - Takes a Telemere signal (map). - Emits signal data to configured `LogExporter` - Emits tracing data to configured `SpanExporter` iff `telemere/otel-tracing?` is true. Options: `:logger-provider` - nil or `io.opentelemetry.api.logs.LoggerProvider`, (see `telemere/get-default-providers` for default).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close