Skip to content

Add support for service name configuration via DD_SERVICE#919

Merged
labbati merged 6 commits intomasterfrom
labbati/DD_SERVICE
Jun 15, 2020
Merged

Add support for service name configuration via DD_SERVICE#919
labbati merged 6 commits intomasterfrom
labbati/DD_SERVICE

Conversation

@labbati
Copy link
Copy Markdown
Member

@labbati labbati commented Jun 11, 2020

Description

Deprecation notice" Setting service name via DD_SERVICE_NAME is now deprecated and will be removed in a future release. Use DD_SERVICE instead for consistency with other Datadog tracers and services.

This PR adds support for both DD_SERVICE (primary) and DD_SERVICE_NAME (secondary) as env variable names to configure the service name.

This was done as part of an effort to increase consistency among different tracers and Datadog products.

Readiness checklist

  • (only for Members) Changelog has been added to the appropriate release draft. Create one if necessary.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the appropriate release draft. For community contributors the reviewer is in charge of this task.

@labbati labbati added the c-extension Apply this label to issues and prs related to the C-extension label Jun 11, 2020
@labbati labbati added this to the 0.47.0 milestone Jun 11, 2020
Copy link
Copy Markdown
Contributor

@SammyK SammyK left a comment

Choose a reason for hiding this comment

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

Nice work @labbati! 🔝

@labbati labbati merged commit 633b233 into master Jun 15, 2020
@labbati labbati deleted the labbati/DD_SERVICE branch June 15, 2020 15:26
@morrisonlevi morrisonlevi mentioned this pull request Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-extension Apply this label to issues and prs related to the C-extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants