Skip to content

Allow to set variables via datadog.yaml #120

Closed
@xrn

Description

@xrn

Expected Behavior

Would be cool if I can use

  • DD_TRACE_ENABLED
  • DD_TRACE_STARTUP_LOGS
  • DD_VERSION
  • DD_UNIVERSAL_INSTRUMENTATION

via datadog.yaml config for my lambdas - now I have 90% of DD configuration there but these if I am correct are not supported.

For me as a user is not clear and correct why DD_ENV could be move to yaml as env and is working but DD_VERSION can not be used as version there. Also second example DD_CAPTURE_LAMBDA_PAYLOAD works as capture_lambda_payload but DD_UNIVERSAL_INSTRUMENTATION does not

Also variable site - this is not clear for me:

  1. datadog-lambda-go has in config option to set site - but I can define it via datadog.yaml if I am using extension. Am I correct that if I have extension then does not matter what I will define in datadog-lambda-go site parameter? Or how it works?

Specifications

  • Datadog Go Lambda package version: 1.18.0
  • Extension v35
  • Go version: 1.18

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions