Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ logger.info('Hello world!');

## Troubleshooting

{{% serverless-init-troubleshooting productNames="Cloud Run services" %}}
{{% serverless-init-troubleshooting productNames="Azure Container Apps" %}}

## Further reading

Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/serverless-init-configure.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
After the container is built and pushed to your registry, set the required environment variables for the Datadog Agent:

- `DD_API_KEY`: Your [Datadog API key][1001], used to send data to your Datadog account. For privacy and safety, configure this API key as a Google Cloud Secret.
- `DD_API_KEY`: Your [Datadog API key][1001], used to send data to your Datadog account. For privacy and safety, configure this API key as a {{ if or (eq (.Get "cloudrun") "true") (eq (.Get "cloudrun_jobs") "true") }}Google Cloud Secret{{ else }}Container Apps secret{{ end }}.
Comment thread
ava-silver marked this conversation as resolved.
- `DD_SITE`: Your [Datadog site][1002]. For example, `datadoghq.com`.

For more environment variables, see the [Environment variables](#environment-variables) section on this page.{{ if eq (.Get "cloudrun") "true" }}
Expand Down
3 changes: 3 additions & 0 deletions layouts/shortcodes/serverless-init-env-vars-sidecar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
| `DD_API_KEY` | [Datadog API key][1001] - **Required**| Sidecar container |
| `DD_SITE` | [Datadog site][1002] - **Required** | Sidecar container |
| `DD_SERVICE` | Datadog Service name. **Required** | Both containers |
{{ if eq (.Get "defaultSource") "containerapp" }}| `DD_AZURE_SUBSCRIPTION_ID` | Azure Subscription ID. **Required** | Sidecar container |
| `DD_AZURE_RESOURCE_GROUP` | Azure Resource Group name. **Required** | Sidecar container |
Comment thread
ava-silver marked this conversation as resolved.
{{ end -}}
| `DD_SERVERLESS_LOG_PATH` | The path where the sidecar should tail logs from. Recommended to set to `/shared-volume/logs/app.log`. | Sidecar container |
| `DD_LOGS_INJECTION` | When true, enrich all logs with trace data for supported loggers. See [Correlate Logs and Traces][1003] for more information. | Application container |
| `DD_VERSION` | See [Unified Service Tagging][1004]. | Both containers |
Expand Down
Loading