前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >OpenTelemetry Python宣布1.0!

OpenTelemetry Python宣布1.0!

作者头像
CNCF
发布2021-04-21 14:59:30
1.2K0
发布2021-04-21 14:59:30
举报
文章被收录于专栏:CNCF

作者:Matthew McCleary

今天,OpenTelemetry Python 发布了 1.0 版本的追踪 API/SDK。这个版本基于OpenTelemetry 规范[1]被标记为稳定[2]的!我们正在为从事分布式应用的 Python 开发人员或服务工程师带来端到端的、与供应商无关的可观察性。

这个新版本包括以下内容:

  • OpenTelemetry Python API:Tracing API、Baggage API、Context API 和 Propagators API。
  • 提供采样、处理和导出控件的SDK[3]
  • 导出器到 Jaeger、Zipkin 和 OpenTelemetry Protocol(OTLP)。使用 OTLP,你可以使用 OpenTelemetry 收集器将追踪导出到许多导出器。
  • 文档,其中包括示例[4]入门指南[5]和最新的稳定的 api 文档[6]

OpenTelemetry 的愿景是为可观察性的三大支柱——分布式追踪、指标和日志——创建一个全球标准。这次发布解决了三大支柱中的第一个——分布式追踪。我们继续致力于指标和日志。

OpenTelemetry 的目的是将两个先前的开源项目:OpenTracing 和 OpenCensus 聚合和日落。在规范[7]稳定之后,OpenTracing 客户将能够使用OpenTracing Shim[8]来迁移他们的检测。OpenCensus 客户目前还没有针对 OpenTelemetry 的垫片,客户可以依靠特定于供应商的指导来实现潜在的未来迁移。

如果你想自己尝试一下,请查看这里[9]的入门指南。

这个开源项目包括了来自30 多个组织[10]超过 96 位的开发人员[11]的贡献。特别感谢Alex Boten[12](Lightstep)和Leighton Chen[13](Microsoft),他们作为维护人员[14]花费了大量时间,一起审查了 800 多个 pull 请求(有趣的事实!)。

我们未来几个月的路线图包括:

  • 改进和添加Python 测仪库[15]
  • 建立 Metrics API/SDK。
  • 发布后的 Tracing API/SDK 的改进。

改进和添加测仪库将支持跨常见 Python 工具库(包括 Flask、Django、PostgreSQL 和 MySQL)的开箱即用分布式追踪。许多测仪器库现在还处于试验阶段[16],并将在接下来的几个月里继续成熟。

我们正在积极寻找更多的贡献者!欢迎任何对学习更多关于 OpenTelemetry Python 感兴趣的人加入我们在GitHub[17]上快速增长的社区,加入 CNCF Slack 实例上的 OpenTelemetry Python 频道(如果你是新手,你可以在这里[18]创建一个 CNCF Slack 帐户),或者参加我们每周的社区会议[19]

参考资料

[1]

OpenTelemetry 规范: https://github.com/open-telemetry/opentelemetry-specification/releases/tag/v1.0.0

[2]

稳定: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/versioning-and-stability.md#stable

[3]

SDK: https://pypi.org/project/opentelemetry-sdk/

[4]

示例: https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples

[5]

入门指南: https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/getting_started

[6]

稳定的 api 文档: https://opentelemetry-python.readthedocs.io/en/stable/

[7]

规范: https://github.com/open-telemetry/opentelemetry-specification/blob/5561534526942dc63f9f9be88fb68ced8a97cd07/specification/compatibility/opentracing.md

[8]

OpenTracing Shim: https://github.com/open-telemetry/opentelemetry-python/tree/main/shim/opentelemetry-opentracing-shim

[9]

这里: https://opentelemetry-python.readthedocs.io/en/latest/getting-started.html

[10]

30 多个组织: https://opentelemetry.devstats.cncf.io/d/66/developer-activity-counts-by-companies?orgId=1&var-period_name=Last%20year&var-metric=contributions&var-repogroup_name=open-telemetry%2Fopentelemetry-python&var-country_name=All&var-companies=All

[11]

超过 96 位的开发人员: https://github.com/open-telemetry/opentelemetry-python/graphs/contributors

[12]

Alex Boten: https://github.com/codeboten

[13]

Leighton Chen: https://github.com/lzchen

[14]

维护人员: https://github.com/open-telemetry/community/blob/main/community-membership.md#community-membership

[15]

Python 测仪库: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation

[16]

试验阶段: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/versioning-and-stability.md#experimental

[17]

GitHub: https://github.com/open-telemetry/opentelemetry-python

[18]

这里: http://slack.cncf.io/

[19]

每周的社区会议: https://github.com/open-telemetry/opentelemetry-python#contributing

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2021-03-29,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 CNCF 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 参考资料
相关产品与服务
云数据库 MySQL
腾讯云数据库 MySQL(TencentDB for MySQL)为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。其具备6大企业级特性,包括企业级定制内核、企业级高可用、企业级高可靠、企业级安全、企业级扩展以及企业级智能运维。通过使用腾讯云数据库 MySQL,可实现分钟级别的数据库部署、弹性扩展以及全自动化的运维管理,不仅经济实惠,而且稳定可靠,易于运维。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档