Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/packages/core/agent_framework/observability.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _create_otlp_exporters(
if not actual_logs_endpoint and not actual_traces_endpoint and not actual_metrics_endpoint:
return exporters

if protocol in ("grpc", "http/protobuf"):
if protocol == "grpc":
# Import all gRPC exporters
try:
from opentelemetry.exporter.otlp.proto.grpc._log_exporter import OTLPLogExporter as GRPCLogExporter
Expand Down Expand Up @@ -357,7 +357,7 @@ def _create_otlp_exporters(
)
)

elif protocol == "http":
elif protocol in ("http/protobuf", "http"):
# Import all HTTP exporters
try:
from opentelemetry.exporter.otlp.proto.http._log_exporter import OTLPLogExporter as HTTPLogExporter
Expand Down
Loading