[Bug]: Implement httpprotobuf as open telemetry protocol.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- csharp, grpc
- 领域
- backend, observability
调研方向
从 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 内容生成。
描述
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
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/data-api-builder 的其他 Issue
-
pgsql
难度 2/5 1-3 小时 新手友好度 68/100
Azure/data-api-builder#3598 ·
维护者通常 1 天内回复
-
2.x cli mcp-server
难度 2/5 1-3 小时 新手友好度 68/100
Azure/data-api-builder#3576 ·
维护者通常 1 天内回复
-
2.x health-endpoint
难度 2/5 1-3 小时 新手友好度 68/100
Azure/data-api-builder#3570 ·
维护者通常 1 天内回复
-
2.x telemetry
难度 2/5 1-3 小时 新手友好度 68/100
Azure/data-api-builder#3564 ·
维护者通常 1 天内回复
-
2.x telemetry
难度 2/5 1-3 小时 新手友好度 70/100
Azure/data-api-builder#3562 ·
维护者通常 1 天内回复
查看 Azure/data-api-builder 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
microsoft/onnxruntime-genai#2633 ·
维护者通常 1 天内回复
-
python triage
难度 2/5 1-3 小时 新手友好度 85/100
microsoft/semantic-kernel#14491 ·
维护者通常 2 天内回复
-
area:jobads-cv FE mvp P3
难度 2/5 1-3 小时 新手友好度 88/100
klasolsson81/jobbliggaren#1878 ·
维护者通常 1 天内回复
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
SubtitleEdit/subtitleedit#15331 · 2 条评论 ·
维护者通常 1 天内回复