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

Change default service_name values Part 2 #2765

Merged
merged 24 commits into from
May 4, 2023

Conversation

zarirhamza
Copy link
Contributor

@zarirhamza zarirhamza commented Apr 7, 2023

Process to change all default values for service_names per integration to DD_SERVICE

  • Change default service_name values based on span attribute schema version. If version is v0, the default stays as is, otherwise if it is version v1, the default changes to DD_SERVICE
  • Adds and updates all tests for impacted integrations. This includes a new settings_spec.rb per integration that tests the switching of defaults between v0 and v1.
  • Encapsulates old peer.service values behind v0 schema version only as there will be changes to the value based on version in the future.

Affected integrations: httpclient, httprb, mongodb, mysql2, pg, presto, racecar , rack, redis, rest_client, sequel

@github-actions github-actions bot added integrations Involves tracing integrations tracing labels Apr 7, 2023
@zarirhamza zarirhamza marked this pull request as ready for review April 7, 2023 22:30
@zarirhamza zarirhamza requested a review from a team April 7, 2023 22:30
@zarirhamza zarirhamza changed the title Change default service_name values Part 2 Change default service_name values Part 2 Apr 8, 2023
@zarirhamza zarirhamza force-pushed the zarir/service-name-integrations-part-two branch from 02761f1 to 47a3bcf Compare April 25, 2023 15:23
@github-actions github-actions bot added appsec Application Security monitoring product ci-app CI product for test suite instrumentation core Involves Datadog core libraries profiling Involves Datadog profiling labels Apr 25, 2023
@zarirhamza zarirhamza marked this pull request as draft April 25, 2023 15:23
@zarirhamza zarirhamza removed profiling Involves Datadog profiling ci-app CI product for test suite instrumentation appsec Application Security monitoring product core Involves Datadog core libraries labels Apr 25, 2023
@zarirhamza zarirhamza force-pushed the zarir/service-name-integrations-part-two branch from 47a3bcf to 02761f1 Compare April 25, 2023 15:36
@zarirhamza zarirhamza marked this pull request as ready for review April 25, 2023 15:38
@zarirhamza zarirhamza force-pushed the zarir/service-name-integrations branch from a693525 to 7bcf3b0 Compare April 25, 2023 21:13
@github-actions github-actions bot added appsec Application Security monitoring product ci-app CI product for test suite instrumentation core Involves Datadog core libraries profiling Involves Datadog profiling labels Apr 25, 2023
Base automatically changed from zarir/service-name-integrations to master April 26, 2023 15:17
@zarirhamza zarirhamza removed core Involves Datadog core libraries profiling Involves Datadog profiling ci-app CI product for test suite instrumentation appsec Application Security monitoring product labels Apr 26, 2023
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

Looks great, @zarirhamza!

Are there still missing integrations to come in a future PR, or this is basically it?

@zarirhamza
Copy link
Contributor Author

Looks great, @zarirhamza!

Are there still missing integrations to come in a future PR, or this is basically it?

This is the final PR! If it could be merged, that would be perfect, thank you!

@TonyCTHsu TonyCTHsu merged commit 8c6384d into master May 4, 2023
@TonyCTHsu TonyCTHsu deleted the zarir/service-name-integrations-part-two branch May 4, 2023 12:37
@github-actions github-actions bot added this to the 1.12.0 milestone May 4, 2023
@jcoleman
Copy link

Is there any context on the why in this change? The PR also doesn't link to the previous PR :(

@zarirhamza
Copy link
Contributor Author

zarirhamza commented Nov 14, 2023

The previous PR is here - #2760

This is in preparation for an upcoming feature, still being worked on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Involves tracing integrations tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants