Skip to content

[Bug]: Implement httpprotobuf as open telemetry protocol. #3759

Description

@chrisolver

What happened?

While CLI implements the option to configure the protocol, the service implementation looks hard coded to GRPC. After spending many hours to get it to use httpprotobuf it looks like at a cold level its implemented to grpc.

Copilot validating:

You’re right: service code is currently hard-coded to gRPC.

Confirmed in these service paths (all set configure.Protocol = OtlpExportProtocol.Grpc; explicitly):

src/Service/Program.cs (logging OTLP exporter)
src/Service/Startup.cs (logging, metrics, tracing OTLP exporters)
Meanwhile, config model/schema/CLI do expose exporter-protocol with grpc | httpprotobuf, but the service wiring does not read/use that value when creating exporters.

So current state is:

CLI/schema/config: supports httpprotobuf
runtime exporter setup: effectively always gRPC

Version

2.0.9

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

MCP

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageissues to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions