Files
Chandrasekharan M 8eb50f7128
Some checks failed
Container Image Build Test for PRs / build (push) Has been cancelled
Run tox tests with UV / test (push) Has been cancelled
UN-2830 [MISC] Suppress OpenTelemetry EventLogger deprecation warning in prompt-service (#1585)
UN-2830 Suppress OpenTelemetry EventLogger LogRecord deprecation warning in prompt-service

Suppressed the LogDeprecatedInitWarning from OpenTelemetry SDK 1.37.0's EventLogger.emit()
method which still uses deprecated trace_id/span_id/trace_flags parameters instead of the
context parameter.

This is a temporary workaround for an upstream bug in OpenTelemetry Python SDK where
EventLogger.emit() was not updated when LogRecord API was changed to accept context parameter.
The warning only appears in prompt-service because llama-index emits OpenTelemetry Events.

See: https://github.com/open-telemetry/opentelemetry-python/issues/4328

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-27 11:11:25 +05:30
..
2025-04-24 16:07:02 +05:30
2025-04-24 16:07:02 +05:30
2024-02-25 16:19:36 +05:30