open-telemetry/opentelemetry-go-contrib

GitHub: open-telemetry/opentelemetry-go-contrib

OpenTelemetry Go 语言的第三方扩展集合,提供主流框架和中间件的现成插桩集成。

Stars: 1600 | Forks: 752

# OpenTelemetry-Go Contrib [![build_and_test](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/feaa3180cd004158.svg)](https://github.com/open-telemetry/opentelemetry-go-contrib/actions?query=workflow%3Abuild_and_test+branch%3Amain) [![codecov.io](https://codecov.io/gh/open-telemetry/opentelemetry-go-contrib/coverage.svg?branch=main)](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib?branch=main) [![Docs](https://godoc.org/go.opentelemetry.io/contrib?status.svg)](https://pkg.go.dev/go.opentelemetry.io/contrib) [![Go Report Card](https://goreportcard.com/badge/go.opentelemetry.io/contrib)](https://goreportcard.com/report/go.opentelemetry.io/contrib) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/opentelemetry-go-contrib.svg)](https://issues.oss-fuzz.com/issues?q=project:opentelemetry-go-contrib) [![Slack](https://img.shields.io/badge/slack-@cncf/otel--go-brightgreen.svg?logo=slack)](https://cloud-native.slack.com/archives/C01NPAXACKT) [OpenTelemetry-Go](https://github.com/open-telemetry/opentelemetry-go) 的第三方包集合。 ## 目录 - [示例](./examples/):OpenTelemetry 库使用示例。 - [Instrumentation](./instrumentation/):为第三方库提供 OpenTelemetry instrumentation 的包。 - [Propagators](./propagators/):为第三方传播格式提供 OpenTelemetry 上下文 propagators 的包。 - [Detectors](./detectors/):为第三方云计算环境提供 OpenTelemetry 资源 detectors 的包。 - [Exporters](./exporters/):为第三方导出格式提供 OpenTelemetry exporters 的包。 - [Samplers](./samplers/):提供 OpenTelemetry samplers 额外实现的包。 - [Bridges](./bridges/):为第三方 instrumentation 框架提供适配器的包。 - [Processors](./processors/):提供 OpenTelemetry processors 额外实现的包。 ## 项目状态 此项目包含稳定和非稳定模块。 请参考模块本身及其版本或我们的[版本清单](./versions.yaml)。 项目版本信息和稳定性保证可在[版本文档](https://github.com/open-telemetry/opentelemetry-go/blob/a724cf884287e04785eaa91513d26a6ef9699288/VERSIONING.md)中找到。 特定于此仓库的进度和状态在我们本地的[项目看板](https://github.com/open-telemetry/opentelemetry-go-contrib/projects?query=is%3Aopen)和[里程碑](https://github.com/open-telemetry/opentelemetry-go-contrib/milestones)中进行跟踪。 ### 兼容性 OpenTelemetry-Go Contrib 确保与当前支持的 [Go 语言](https://golang.org/doc/devel/release#policy)版本兼容: 对于上游不再支持的 Go 版本,opentelemetry-go-contrib 将通过以下方式停止确保与这些版本的兼容性: - 将发布 opentelemetry-go-contrib 的次要版本以支持新的 Go 支持版本。 - 随后的 opentelemetry-go-contrib 次要版本将移除对最旧(现已被上游归档)Go 版本的兼容性测试。此版本及未来的 opentelemetry-go-contrib 版本可能包含仅受当前支持的 Go 版本支持的功能。 此项目在以下系统上进行了测试。 | OS | Go Version | Architecture | | -------- | ---------- | ------------ | | Ubuntu | 1.26 | amd64 | | Ubuntu | 1.25 | amd64 | | Ubuntu | 1.26 | 386 | | Ubuntu | 1.25 | 386 | | macOS | 1.26 | amd64 | | macOS | 1.25 | amd64 | | macOS | 1.26 | arm64 | | macOS | 1.25 | arm64 | | Windows | 1.26 | amd64 | | Windows | 1.25 | amd64 | | Windows | 1.26 | 386 | | Windows | 1.25 | 386 | 虽然此项目应该能在其他系统上运行,但目前不对这些系统做出兼容性保证。 ## 贡献 有关如何贡献的信息,请参阅[贡献指南](./CONTRIBUTING.md)
标签:API集成, APM, CNCF, EVTX分析, GET参数, Go, Golang, GRPC, OpenTelemetry, Python工具, Ruby工具, Tracing, web渗透, 上下文传播, 中间件, 分布式追踪, 可观测性, 安全编程, 工具包, 应用性能监控, 开源库, 扩展, 插件, 搜索引擎爬虫, 数据导出, 日志审计, 检测, 用户代理, 监控代理, 第三方库, 自定义请求头, 资源检测, 遥测数据, 采样器