DataDog / datadogpy

The Datadog Python library
https://datadoghq.com/
Other
609 stars 302 forks source link

Allow use of DD_TAGS environment variable for constant tags #702

Open nrmitchi opened 2 years ago

nrmitchi commented 2 years ago

DD_TAGS is the common environment variable used for constant tagging in other datadog services (such as APM), and is what is referenced in most documentation.

This library uses DATADOG_TAGS, and does not support DD_TAGS.

Documentation for assigning tags references DD_TAGS, but does not mention DATADOG_TAGS.

Expected behavior Constant tagging for metrics created should utilize the same environment values as other datadog services.

We shouldn't have to specify multiple environment variables with the same values.

github-actions[bot] commented 2 years ago

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.