-
Notifications
You must be signed in to change notification settings - Fork 892
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
agent version 2.3, The span attribute of the database span is missing db.operation #11369
Comments
@zhangjiabin1010 did this work in a previous version? What instrumentation generates this span? Would it be possible to provide a minimal sample application that reproduces the issue? |
It is work in version 1.32. ScopeName = 'io.opentelemetry.jdbc' , |
To me the most likely explanation is that you have disabled the sql statement sanitizer. Besides sanitizing the query sanitizer is also used to extract the operation and table name. |
Yes, that's the reason, maybe it should be added to the documentation. thanks for reply |
re-opening, as @laurit pointed out elsewhere it may make sense to capture |
Describe the bug
After upgrading the agent to version 2.3,
there is no db.operation in the span attributes of databases such as oracle and postgres.
Steps to reproduce
The following is the span data collected:
]
}
Expected behavior
Contains db.operation or db.operation.name
Actual behavior
missing db.operation
Javaagent or library instrumentation version
v2.3
Environment
JDK:1.8
OS:centos7
Additional context
No response
The text was updated successfully, but these errors were encountered: