-
Notifications
You must be signed in to change notification settings - Fork 199
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
Fix service bus mapping #1848
Fix service bus mapping #1848
Conversation
9e73051
to
0f7c2d0
Compare
|
||
private static final OperationLogger exportingSpanLogger = | ||
new OperationLogger(Exporter.class, "Exporting span"); | ||
|
||
private static final OperationLogger parsingHttpUrlLogger = | ||
new OperationLogger(Exporter.class, "Parsing http.url"); | ||
|
||
static { | ||
Set<String> dbSystems = new HashSet<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does otel java sdk have dbSystems defined already? can we refer to that directly if it becomes available? i remember there is a common spec for dbsystems on the otel spec repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
||
// TODO need to keep this list in sync as new semantic conventions are defined | ||
// TODO make this opt-in for javaagent | ||
Set<String> standardAttributesPrefix = new HashSet<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here.. i feel that otel should take care of all the standard attribute prefixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately there are no otel constants we can use for this, at least not yet
Based on @lmolkova's Azure/azure-sdk-for-java#21668 (comment) and Azure/azure-sdk-for-java#21668 (review)