We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL 数据的统计依据是 Tagkey db.statement,例如: tracer.activeSpan.setTag("db.statement", "SELECT*FROM wuser _table");,
db.statement
tracer.activeSpan.setTag("db.statement", "SELECT*FROM wuser _table")
统一使用官方推荐的tagKey 存储运行的sql记录,移除trace events中的重复记录。
https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/sql.md
https://github.com/open-telemetry/semantic-conventions/blob/3b6ffe3e810e965d122c19fdcc07212a2ec854b7/CHANGELOG.md?plain=1#L935
https://github.com/open-telemetry/semantic-conventions/blob/3b6ffe3e810e965d122c19fdcc07212a2ec854b7/CHANGELOG.md?plain=1#L14
open-telemetry/semantic-conventions#716
open-telemetry/opentelemetry-go#5476
The text was updated successfully, but these errors were encountered:
houseme
No branches or pull requests
Description
SQL 数据的统计依据是 Tagkey
db.statement
,例如:tracer.activeSpan.setTag("db.statement", "SELECT*FROM wuser _table")
;,统一使用官方推荐的tagKey 存储运行的sql记录,移除trace events中的重复记录。
https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/sql.md
https://github.com/open-telemetry/semantic-conventions/blob/3b6ffe3e810e965d122c19fdcc07212a2ec854b7/CHANGELOG.md?plain=1#L935
https://github.com/open-telemetry/semantic-conventions/blob/3b6ffe3e810e965d122c19fdcc07212a2ec854b7/CHANGELOG.md?plain=1#L14
open-telemetry/semantic-conventions#716
open-telemetry/opentelemetry-go#5476
The text was updated successfully, but these errors were encountered: