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

Fix service bus mapping #1848

Merged
merged 9 commits into from
Aug 16, 2021
Merged

Fix service bus mapping #1848

merged 9 commits into from
Aug 16, 2021

Conversation

trask
Copy link
Member

@trask trask commented Aug 11, 2021

@trask trask marked this pull request as draft August 11, 2021 23:15
@trask trask force-pushed the fix-service-bus-mapping branch from 9e73051 to 0f7c2d0 Compare August 11, 2021 23:35
@trask trask marked this pull request as ready for review August 12, 2021 17:09

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<>();
Copy link
Contributor

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.

Copy link
Member Author

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<>();
Copy link
Contributor

@heyams heyams Aug 16, 2021

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.

Copy link
Member Author

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

@trask trask merged commit 4906847 into main Aug 16, 2021
@trask trask deleted the fix-service-bus-mapping branch August 16, 2021 23:20
@kryalama kryalama added this to the 3.2.0-BETA.3 milestone Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants