Commit 8575b88
authored
feat(tracing)!: update tracing to use otel api (#1269)
* feat(tracing)!: migrate OpenTelemetry adapter to use otel API
Refactored the OpenTelemetry tracing adapter to follow OpenTelemetry library best practices. The adapter now uses only the OpenTelemetry API, does not modify global state, and relies on the application to configure the SDK and tracer provider. Removed legacy exporter and span processor configuration from the adapter. Updated tests to reflect the new initialization logic and ensure backward compatibility with old config parameters.
Signed-off-by: Pouyan <[email protected]>1 parent ef97795 commit 8575b88
File tree
6 files changed
+824
-169
lines changed- examples/configs/tracing
- nemoguardrails/tracing/adapters
- tests
6 files changed
+824
-169
lines changed
0 commit comments