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

contrib: adds 'messaging.system' tag #1697

Merged
merged 5 commits into from
Feb 1, 2023
Merged

Conversation

zarirhamza
Copy link
Contributor

@zarirhamza zarirhamza commented Jan 26, 2023

What does this PR do?

Adds constant MessagingSystem with value 'messaging.system' in ddtrace/ext/tags.go for repeated use as a span tag

Adds 'messaging.system' tag with value 'googlepubsub' for cloud.google.com/go/pubsub.v1 integration
Adds 'messaging.system' tag with value 'kafka' for confluentinc/confluent-kafka-go/kafka integration
Adds 'messaging.system' tag with value 'kafka' for segmentio/kafka.go.v0 integration
Adds 'messaging.system' tag with value 'kafka' for Shopify/sarama integration

Motivation

Part of the unified naming changes to standardize span tags across tracers

Describe how to test/QA your changes

Appropriate unit tests have been added

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
zarirhamza Zarir Hamza
…r contrib

Adds constant MessagingSystem with value 'messaging.system' in ddtrace/ext/tags.go for repeated use as a span tag

Adds 'messaging.system' tag with value 'googlepubsub' for cloud.google.com/go/pubsub.v1 integration
Adds 'messaging.system' tag with value 'kafka' for confluentinc/confluent-kafka-go/kafka integration
Adds 'messaging.system' tag with value 'kafka' for segmentio/kafka.go.v0 integration
Adds 'messaging.system' tag with value 'kafka' for Shopify/sarama integration
@zarirhamza zarirhamza requested a review from a team January 26, 2023 18:24
@zarirhamza zarirhamza added this to the v1.48.0 milestone Jan 26, 2023
@pr-commenter
Copy link

pr-commenter bot commented Jan 26, 2023

Benchmarks

Comparing candidate commit d288e28 in PR branch zarir/messaging.system with baseline commit 4174939 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 6 cases.

@zarirhamza zarirhamza modified the milestones: v1.48.0, Triage Jan 26, 2023

Verified

This commit was signed with the committer’s verified signature.
zarirhamza Zarir Hamza
Fixes test in segmentio/kafka.go.v0 with typo
Fixes test in Shopify/sarama with typo
@zarirhamza zarirhamza modified the milestones: Triage, v1.48.0 Jan 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
ajgajg1134
ajgajg1134 previously approved these changes Jan 26, 2023
Copy link
Contributor

@ajgajg1134 ajgajg1134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Verified

This commit was signed with the committer’s verified signature.
zarirhamza Zarir Hamza
ajgajg1134
ajgajg1134 previously approved these changes Jan 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ajgajg1134 ajgajg1134 merged commit 803e0f9 into main Feb 1, 2023
@ajgajg1134 ajgajg1134 deleted the zarir/messaging.system branch February 1, 2023 17:55
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.

None yet

2 participants