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

ddtrace/tracer: do not fallback to target host as Cassandra peer.service source #2100

Merged
merged 4 commits into from
Jul 11, 2023

Conversation

rarguelloF
Copy link
Contributor

@rarguelloF rarguelloF commented Jul 6, 2023

What does this PR do?

Do not fallback to use target host tags as peer.service source for Cassandra spans when db.cassandra.contact.points is missing.

Motivation

For users who cannot migrate to the tracing methods added in #2057 and get the correct peer.service source for Cassandra (db.cassandra.contact.points), it's better to not have a peer.service rather than out.host (or equivalent tags).

Describe how to test/QA your changes

Reviewer's Checklist

  • 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. The key has been revoked.
joachifm Joachim F.
…ice source
@rarguelloF rarguelloF marked this pull request as ready for review July 6, 2023 14:38
@rarguelloF rarguelloF requested a review from a team July 6, 2023 14:38

Verified

This commit was signed with the committer’s verified signature. The key has been revoked.
joachifm Joachim F.
@pr-commenter
Copy link

pr-commenter bot commented Jul 7, 2023

Benchmarks

Benchmark execution time: 2023-07-11 08:56:23

Comparing candidate commit 0711ca1 in PR branch rarguelloF/peer-service-cassandra with baseline commit 60cbd27 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics.

Verified

This commit was signed with the committer’s verified signature. The key has been revoked.
joachifm Joachim F.

Verified

This commit was signed with the committer’s verified signature. The key has been revoked.
joachifm Joachim F.
@rarguelloF rarguelloF merged commit 2909e64 into main Jul 11, 2023
@rarguelloF rarguelloF deleted the rarguelloF/peer-service-cassandra branch July 11, 2023 09:17
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

3 participants