DataDog / datadog-lambda-extension

Datadog Lambda Extension
Apache License 2.0
81 stars 5 forks source link

feat: use dd_runtime tag #396

Closed alexgallotta closed 1 month ago

alexgallotta commented 2 months ago

check the DD_RUNTIME env var and use it as runtime

No fallback to proc logic or default value is used to avoid the worst case scenario:

in the best case scenario, DD_RUNTIME is set with the same value of the AWS runtime, or the AWS integration is disabled.

In both case, it seems that the proc scan fallback will add a value not useful and confusing, so it might be better to remove it altogether