You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues-translate-bot
changed the title
net/http: OpenTelemetry 导出的指标与官方所定义的不一致
net/http: The metrics exported by OpenTelemetry are inconsistent with the official definition
Mar 1, 2025
Go version
go version go1.23.6 darwin/arm64
GoFrame version
2.8.3
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
参考文档
文档中所描述的指标与属性字段与 OTEL 定义的不一致,导致 OTEL 采集后导入到其他监控系统时,无法转换与显示出正确的数据,参考:https://opentelemetry.io/docs/specs/semconv/attributes-registry/http/
也许可以参考:open-telemetry/opentelemetry-go-contrib/instrumentation#otelgin 与 open-telemetry/opentelemetry-go-contrib/instrumentation#net/http 实现标准化字段导出,以便可以在其它系统正确转换属性
What did you see happen?
无法正确转换为 OTEL 标准指标属性
What did you expect to see?
GF 定义的指标、属性与 OTEL 不一致
The text was updated successfully, but these errors were encountered: