Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: Implement httpprotobuf as open telemetry protocol.

未关闭
#3,759 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
csharp, grpc

调研方向

从 src/Service/Program.cs 和 src/Service/Startup.cs 开始,这里配置了 logging、metrics 和 tracing 的 OTLP exporter。跟踪 exporter-protocol 如何从 CLI/config model 加载,然后验证每个 service exporter 是否同时支持 grpc 和 httpprotobuf,而不是强制使用 grpc;现有的 exporter 测试(如果有)应覆盖这两个值。

由索引模型根据 Issue 内容生成。

描述

bug triage
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
主要语言
C#
星标
1.5k
派生
371
平均合并
9 天 2 小时
30 天内合并 PR
10

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/data-api-builder 的其他 Issue

查看 Azure/data-api-builder 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。