语义约定

不同类型的操作和数据的通用名称。

The content of this page may be outdated and some links may be invalid. A newer version of this page exists in English.

More information ...

To see the changes to the English page since this page was last updated: visit GitHub compare 71d813ac..3ae9fb09 and search for content/en/docs/concepts/semantic-conventions.md.

OpenTelemetry 定义了语义约定, 为不同类型的操作和数据指定通用名称。 使用语义约定的好处是遵循通用的命名方案,可以在代码库、库和平台之间实现标准化。

语义约定适用于链路追踪、指标、日志和资源: