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

internal/namingschema: add config flag to disable default integration service names #2007

Merged
merged 15 commits into from
Jun 14, 2023

Conversation

rarguelloF
Copy link
Contributor

@rarguelloF rarguelloF commented May 26, 2023

What does this PR do?

  • Adds DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED env variable and WithGlobalServiceName tracer start option.

Motivation

The motivation of this flag is to be able to to use the default service names introduced by the naming schema v1 (everything defaults to DD_SERVICE) while using naming schema v0 (so the operation names remain unchanged).

AKA: This allows customers to upgrade to v1 SERVICE names while maintaining their V0 operation names. (Otherwise, V1 changes both service and operation names)

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 names
@rarguelloF rarguelloF changed the title internal/namingschema: add config flag to disable default client serv… internal/namingschema: add config flag to disable default client service names May 26, 2023
@pr-commenter
Copy link

pr-commenter bot commented May 26, 2023

Benchmarks

Benchmark execution time: 2023-06-14 09:57:04

Comparing candidate commit 8677744 in PR branch rarguelloF/add-default-client-service-names-config with baseline commit 087eb5a in branch main.

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

zarirhamza
zarirhamza previously approved these changes May 26, 2023
Copy link
Contributor

@zarirhamza zarirhamza left a comment

Choose a reason for hiding this comment

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

LGTM

amarziali
amarziali previously approved these changes May 26, 2023
Copy link

@amarziali amarziali left a comment

Choose a reason for hiding this comment

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

lgtm

Verified

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

Verified

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

Verified

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

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@rarguelloF rarguelloF dismissed stale reviews from zarirhamza and amarziali via 7a8bba6 June 5, 2023 12:03
@rarguelloF rarguelloF changed the title internal/namingschema: add config flag to disable default client service names internal/namingschema: add config flag to disable default integration service names Jun 7, 2023
@rarguelloF rarguelloF marked this pull request as ready for review June 7, 2023 10:28
@rarguelloF rarguelloF requested a review from a team June 7, 2023 10:28
@rarguelloF rarguelloF requested a review from a team as a code owner June 7, 2023 10:28
ajgajg1134
ajgajg1134 previously approved these changes Jun 13, 2023
knusbaum
knusbaum previously approved these changes Jun 13, 2023
@rarguelloF rarguelloF dismissed stale reviews from knusbaum and ajgajg1134 via 3bbd1dc June 14, 2023 09:27
@rarguelloF rarguelloF merged commit 7af5011 into main Jun 14, 2023
@rarguelloF rarguelloF deleted the rarguelloF/add-default-client-service-names-config branch June 14, 2023 10:36
dianashevchenko pushed a commit that referenced this pull request Jun 14, 2023
… service names (#2007)

Co-authored-by: Andrew Glaude <andrew.glaude@datadoghq.com>
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

7 participants