You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the deprecation raises everytime we emit a message event
because of internal sdk code even if we don't pass the deprecated
parameters ourselves. So silence it.
Copy file name to clipboardExpand all lines: instrumentation/elastic-opentelemetry-instrumentation-openai/src/opentelemetry/instrumentation/openai/__init__.py
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
17
17
importlogging
18
18
importos
19
+
importwarnings
19
20
fromtimeitimportdefault_timer
20
21
fromtypingimportCollection
21
22
@@ -62,6 +63,15 @@
62
63
logger=logging.getLogger(__name__)
63
64
64
65
66
+
# silence warnings from OTel sdk LogRecord conversion
0 commit comments