mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-17 01:51:10 +00:00
When this feature is enabled (see `otel-mode?`), Telemere's tracing signal creators (`trace!`, `spy!`, etc.) will now manipulate OpenTelemetry's span context when relevant. Before this commit: Telemere would detect and use OpenTelemetry span context, but the inverse wasn't true: OpenTelemetry instrumentation wouldn't recognize Telemere spans. After this commit: Telemere detects OpenTelemetry span context, and the inverse is also true: OpenTelemetry instrumentation will recognize Telemere spans. The net effect: When you use Telemere to trace forms that may themselves do auto/manual OpenTelemetry instrumentation - the resulting spans will properly identify Telemere's spans as parents. Note that this is interop is implemented in a unique way that retains Telemere's usual benefits re: low costs at signal callsite, and ability to skip costs when filtering / sampling / rate-limiting / etc. |
||
|---|---|---|
| .. | ||
| graal_tests.clj | ||
| telemere_tests.cljc | ||