Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions amazon_app_mesh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Log collection is not supported for this site.
partial -->

<!-- partial
{{< site-region region="us,eu,gov" >}}
{{< site-region region="us,eu,gov,gov2" >}}

To enable log collection, update the Agent's DaemonSet with the dedicated [Kubernetes log collection instructions][1].

Expand Down Expand Up @@ -127,7 +127,7 @@ Log collection is not supported for this site.
partial -->

<!-- partial
{{< site-region region="us,eu,gov" >}}
{{< site-region region="us,eu,gov,gov2" >}}

Enable log collection with the instructions in the [ECS Fargate integration documentation][1].

Expand Down Expand Up @@ -178,7 +178,7 @@ Log collection is not supported for this site.
partial -->

<!-- partial
{{< site-region region="us,eu,gov" >}}
{{< site-region region="us,eu,gov,gov2" >}}

Enable log collection with the instructions in the [ECS integration documentation][1].

Expand Down
20 changes: 10 additions & 10 deletions ecs_fargate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The instructions below show you how to configure the task using the [Amazon Web
##### Web UI Task Definition

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}

1. Log in to your [AWS Web Console][4] and navigate to the ECS section.
2. Click on **Task Definitions** in the left menu, then click the **Create new Task Definition** button or choose an existing Fargate task definition.
Expand Down Expand Up @@ -79,7 +79,7 @@ partial -->

1. Download [datadog-agent-ecs-fargate.json][42]. **Note**: If you are using Internet Explorer, this may download as a gzip file, which contains the JSON file mentioned below.
<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
2. Update the JSON with a `TASK_NAME`, your [Datadog API Key][41], and the appropriate `DD_SITE` ({{< region-param key="dd_site" code="true" >}}). **Note**: The environment variable `ECS_FARGATE` is already set to `"true"`.

[41]: /organization-settings/api-keys
Expand Down Expand Up @@ -113,7 +113,7 @@ aws ecs register-task-definition --cli-input-json file://<PATH_TO_FILE>/datadog-
You can use [AWS CloudFormation][6] templating to configure your Fargate containers. Use the `AWS::ECS::TaskDefinition` resource within your CloudFormation template to set the Amazon ECS task and specify `FARGATE` as the required launch type for that task.

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
Update this CloudFormation template below with your [Datadog API Key][41]. As well as include the appropriate `DD_SITE` ({{< region-param key="dd_site" code="true" >}}) environment variable if necessary, as this defaults to `datadoghq.com` if you don't set it.

[41]: /organization-settings/api-keys
Expand Down Expand Up @@ -152,7 +152,7 @@ For more information on CloudFormation templating and syntax, see the [AWS Cloud
You can use the [Datadog CDK Constructs][72] to configure your ECS Fargate task definition. Use the `DatadogECSFargate` construct to instrument your containers for desired Datadog features. This is supported in TypeScript, JavaScript, Python, and Go.

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
Update this construct definition below with your [Datadog API Key][41]. In addition, include the appropriate `DD_SITE` ({{< region-param key="dd_site" code="true" >}}) property if necessary, as this defaults to `datadoghq.com` if you don't set it.

[41]: https://app.datadoghq.com/organization-settings/api-keys
Expand Down Expand Up @@ -192,7 +192,7 @@ For more information on the `DatadogECSFargate` construct instrumentation and sy
You can use the [Datadog ECS Fargate Terraform module][71] to configure your containers for Datadog. This Terraform module wraps the [`aws_ecs_task_definition`][68] resource and automatically instruments your task definition for Datadog. Pass your input arguments into the Datadog ECS Fargate Terraform module in a similiar manner as to the `aws_ecs_task_definition`. Make sure to include your task `family` and `container_definitions`.

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
Update this Terraform module below with your [Datadog API Key][41]. As well as include the appropriate `DD_SITE` ({{< region-param key="dd_site" code="true" >}}) environment variable if necessary, as this defaults to `datadoghq.com` if you don't set it.

[41]: https://app.datadoghq.com/organization-settings/api-keys
Expand Down Expand Up @@ -589,7 +589,7 @@ partial -->
{{< /site-region >}}
partial -->
<!-- partial
{{< site-region region="gov" >}}
{{< site-region region="gov,gov2" >}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the US2-FED log intake host for gov2

When the site selector is US2-FED, adding gov2 to this gov block renders the FireLens example with the hard-coded US1-FED intake host (http-intake.logs.ddog-gov.datadoghq.com) instead of the US2-FED logs intake host (http-intake.logs.us2.ddog-gov.com). That sends ECS Fargate users selecting US2-FED to the wrong site; the same gov,gov2 pattern is repeated in the secret-based and CloudFormation FireLens snippets, so gov2 needs its own endpoint-specific block or a region-derived host.

Useful? React with 👍 / 👎.

```json
{
"logConfiguration": {
Expand Down Expand Up @@ -750,7 +750,7 @@ partial -->
{{< /site-region >}}
partial -->
<!-- partial
{{< site-region region="gov" >}}
{{< site-region region="gov,gov2" >}}
```json
{
"logConfiguration": {
Expand Down Expand Up @@ -783,7 +783,7 @@ To provide your Datadog API key as a secret, see [Using secrets](#using-secrets)
{{% /collapse-content %}}

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
**Note**: Set your `apikey` as well as the `Host` relative to your respective site `http-intake.logs.`{{< region-param key="dd_site" code="true" >}}. The full list of available parameters is described in the [Datadog Fluent Bit documentation][24].

[24]: https://docs.datadoghq.com/integrations/fluentbit/#configuration-parameters
Expand Down Expand Up @@ -971,7 +971,7 @@ Resources:
{{< /site-region >}}
partial -->
<!-- partial
{{< site-region region="gov" >}}
{{< site-region region="gov,gov2" >}}
```yaml
Resources:
ECSTaskDefinition:
Expand Down Expand Up @@ -1091,7 +1091,7 @@ Monitor Fargate logs by using the `awslogs` log driver and a Lambda function to
### Trace collection

<!-- partial
{{< site-region region="us,us3,us5,eu,ap1,gov" >}}
{{< site-region region="us,us3,us5,eu,ap1,gov,gov2" >}}
1. Follow the [instructions above](#installation) to add the Datadog Agent container to your task or job definition with the additional environment variable `DD_APM_ENABLED` set to `true`. Set the `DD_SITE` variable to {{< region-param key="dd_site" code="true" >}}. It defaults to `datadoghq.com` if you don't set it.
{{< /site-region >}}
partial -->
Expand Down
2 changes: 1 addition & 1 deletion flink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ No additional installation is needed on your server.
#### Metric collection

<!-- partial
{{< site-region region="gov" >}}
{{< site-region region="gov,gov2" >}}
1. Configure the [StatsD reporter][14] in Flink.
In your `<FLINK_HOME>/conf/flink-conf.yaml`, add these lines:
```yaml
Expand Down
4 changes: 2 additions & 2 deletions openai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ This will display detailed information about any errors or issues with tracing.
**Notes**:

<!-- partial
{{% site-region region="us3,us5,eu,gov,ap1" %}}
{{% site-region region="us3,us5,eu,gov,gov2,ap1" %}}
- Non-US1 customers must set `DD_SITE` on the application command to the correct Datadog site parameter as specified in the table in the <a href="https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site">Datadog Site</a> page (for example, `datadoghq.eu` for EU1 customers).{{% /site-region %}}
partial -->

Expand Down Expand Up @@ -453,7 +453,7 @@ Validate that the APM Node.js library can communicate with your Agent by examini
**Notes**:

<!-- partial
{{% site-region region="us3,us5,eu,gov,ap1" %}}
{{% site-region region="us3,us5,eu,gov,gov2,ap1" %}}
- Non-US1 customers must set `DD_SITE` on the application command to the correct Datadog site parameter as specified in the table in the <a href="https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site">Datadog Site</a> page (for example, `datadoghq.eu` for EU1 customers).{{% /site-region %}}
partial -->

Expand Down
Loading