File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/packages/core/agent_framework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ def _create_otlp_exporters(
321321 if not actual_logs_endpoint and not actual_traces_endpoint and not actual_metrics_endpoint :
322322 return exporters
323323
324- if protocol in ( "grpc" , "http/protobuf" ) :
324+ if protocol == "grpc" :
325325 # Import all gRPC exporters
326326 try :
327327 from opentelemetry .exporter .otlp .proto .grpc ._log_exporter import OTLPLogExporter as GRPCLogExporter
@@ -357,7 +357,7 @@ def _create_otlp_exporters(
357357 )
358358 )
359359
360- elif protocol == "http" :
360+ elif protocol in ( "http/protobuf" , "http" ) :
361361 # Import all HTTP exporters
362362 try :
363363 from opentelemetry .exporter .otlp .proto .http ._log_exporter import OTLPLogExporter as HTTPLogExporter
You can’t perform that action at this time.
0 commit comments