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
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-openai-agents/src/opentelemetry/instrumentation/openai_agents/__init__.py
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,15 @@
73
73
fromopentelemetry.semconv.schemasimportSchemas
74
74
fromopentelemetry.traceimportget_tracer
75
75
76
+
__all__= [
77
+
"OpenAIAgentsInstrumentor",
78
+
"GenAIProvider",
79
+
"GenAIOperationName",
80
+
"GenAIToolType",
81
+
"GenAIOutputType",
82
+
"GenAIEvaluationAttributes",
83
+
]
84
+
76
85
logger=logging.getLogger(__name__)
77
86
78
87
@@ -81,9 +90,6 @@ class OpenAIAgentsInstrumentor(BaseInstrumentor):
81
90
82
91
def_instrument(self, **kwargs):
83
92
"""Instruments the OpenAI library for agent frameworks."""
84
-
# TODO: Implement your instrumentation logic here
85
-
# This is a stub implementation - add your custom instrumentation code
0 commit comments