temporalio / samples-server

MIT License
37 stars 32 forks source link

[Feature Request] Support Datadog DD_SITE env var in observability code. #69

Closed sourcec0de closed 9 months ago

sourcec0de commented 9 months ago

Is your feature request related to a problem? Please describe.

I would like to request to add support for the DD_SITE environmental variable in the observability examples. Not all users are part of the default Datadog site. https://docs.datadoghq.com/getting_started/site/

This allows the user to set this variable and override the destination site for their metric data. Metrics will be sent without an error as long as a valid API Key is specified.

I have already implemented a PR for this.