Skip to content
New issue

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

Use new OpenTelemetry semantic conventions for database spans #1435

Open
bgrainger opened this issue Jan 11, 2024 · 0 comments
Open

Use new OpenTelemetry semantic conventions for database spans #1435

bgrainger opened this issue Jan 11, 2024 · 0 comments

Comments

@bgrainger
Copy link
Member

https://opentelemetry.io/docs/specs/semconv/database/database-spans/

Changes appear to be:

Removed Added Notes
n/a db.instance.id The actual DB instance, e.g., if individual nodes in a cluster can be distinguished
net.sock.peer.addr network.peer.address
net.sock.peer.port network.peer.port
net.transport network.transport Values have changed, e.g., tcp instead of ip_tcp
net.sock.family network.type Values have changed, e.g., ipv4 or ipv6 instead of inet or inet6
net.peer.name server.address Appears to have some overlap with network.peer.address
net.peer.port server.port Some overlap with network.peer.port

An environment variable, OTEL_SEMCONV_STABILITY_OPT_IN "SHOULD" be used to control whether old, new, or both attributes should be emitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant