Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 567 Bytes

File metadata and controls

17 lines (12 loc) · 567 Bytes

Deploy two AWS Lambda functions with serverless

The project will deploy two AWS Lambda functions with Dynatrace OneAgent.

Before packaging or deployment, add OneAgent options to serverless.yml file:

custom:
  serverless-oneagent:
    options: '{"server":"...","tenant":"...", "tenanttoken":"..."}'

Alternatively, options can be specified with --dt-oneagent-options command line argument.

serverless deploy --dt-oneagent-options='{"dynatraceTagPropertyPath":"headers.x-dynatrace","server":"...","tenant":"...","tenanttoken":"..."}'