telemere/test/taoensso
Peter Taoussanis ffba57309f [new] OpenTelemetry handler: signf improve span interop
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.
2024-08-22 19:09:21 +02:00
..
graal_tests.clj [new] Add initial code, content 2024-03-08 10:35:10 +01:00
telemere_tests.cljc [new] OpenTelemetry handler: signf improve span interop 2024-08-22 19:09:21 +02:00