You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,16 @@ See the release page for the latest ARNs of the extension layers for each runtim
22
22
23
23
*`DASH0_ENDPOINT` - The integration endpoint for you organization in Dash0, i.e. `https://ingress.eu-west-1.aws.dash0.com:4318`.
24
24
25
-
*`DASH0_TOKEN`- The API token for your Dash0 project.
25
+
*Either `DASH0_TOKEN`or `DASH0_TOKEN_SECRET_ARN` must be set (see below).
26
26
27
27
### Optional
28
28
29
+
*`DASH0_TOKEN` - The API token for your Dash0 project. Either this or `DASH0_TOKEN_SECRET_ARN` must be set.
30
+
31
+
*`DASH0_TOKEN_SECRET_ARN` - The ARN of an AWS Secrets Manager secret containing the Dash0 API token. Either this or `DASH0_TOKEN` must be set. If both are set, `DASH0_TOKEN` takes precedence.
32
+
33
+
*`DASH0_TOKEN_SECRET_KEY` - The JSON key within the secret to extract the token from. Required when the secret stored in `DASH0_TOKEN_SECRET_ARN` is a JSON object. If not set, the entire secret value is used as the token.
34
+
29
35
*`DASH0_DISABLE_AUTO_INSTRUMENTATION` - Auto-instrumentation can be turned off by this environment variable, which will result in creating synthetic traces by the extension for all invocations.
30
36
31
37
*`DASH0_SEND_ON_INVOCATION_END` - The extension has two modes of sending to the backend, either on invocation end or on the next invocation. The default is `true`. Sending on invocation end will increase the billed duration of the lambda, but not the response time. Sending on next invocation will decrease the billed duration since the sending will take place in parallel of the regular execution, but might delay the sending up to 7 minutes in case of last invocation in the container.
0 commit comments