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
*`Cluster_Name` - ECS Cluster name setup in Prerequisite step
31
31
*`AWS_Region` - Region the data will be sent
32
32
*`PATH_TO_CloudFormation_TEMPLATE` - CFN template path downloaded in Step 1
33
-
*`command` - Assign value to the command variable to select the config file path; the AWS Collector comes with
34
-
two configs baked in for ECS customers (choose one of them based on your requirements):
35
-
`--config=/etc/ecs/ecs-default-config.yaml` - To consume StatsD metrics, OTLP metrics/traces and X-Ray SDK traces (custom application metrics/traces)
36
-
`--config=/etc/ecs/container-insights/otel-task-metrics-config.yaml` - To Use StatsD, OTLP, Xray and Container Resource utilization metrics
33
+
*`command` - Assign value to the command variable to select the config file path; the ADOT Collector comes with two configs baked in for ECS customers (choose one of them based on your requirements):
34
+
**`--config=/etc/ecs/ecs-default-config.yaml` - To consume StatsD metrics, OTLP metrics/traces and X-Ray SDK traces (custom application metrics/traces)
35
+
**`--config=/etc/ecs/container-insights/otel-task-metrics-config.yaml` - To Use StatsD, OTLP, Xray and Container Resource utilization metrics
*`PATH_TO_CloudFormation_TEMPLATE` - CFN template path downloaded in Step 1
33
33
*`Security_Groups` - the security group for your ECS Fargate Task
34
-
*`Subnets` - the subnet your ECS Fargate task is running (*ex: Subnets=SubnetID1\\\,SubnetID2*)
35
-
*`command` - Assign value to the command variable to select the config file path; the AWS Collector comes with
36
-
two configs baked in for ECS customers (choose one of them based on your purpose):
37
-
`--config=/etc/ecs/ecs-default-config.yaml` - To consume StatsD metrics, OTLP metrics/traces and X-Ray SDK traces (custom application metrics/traces)
38
-
`--config=/etc/ecs/container-insights/otel-task-metrics-config.yaml` - To Use StatsD, OTLP, Xray and Container Resource utilization metrics
34
+
*`Subnets` - the subnet your ECS Fargate task is running (Ex: Subnets=SubnetID1\\\\,SubnetID2)
35
+
*`command` - Assign value to the command variable to select the config file path; the ADOT Collector comes with two configs baked in for ECS customers (choose one of them based on your purpose):
36
+
*`--config=/etc/ecs/ecs-default-config.yaml` - To consume StatsD metrics, OTLP metrics/traces and X-Ray SDK traces (custom application metrics/traces)
37
+
*`--config=/etc/ecs/container-insights/otel-task-metrics-config.yaml` - To Use StatsD, OTLP, Xray and Container Resource utilization metrics
Copy file name to clipboardExpand all lines: src/docs/setup/eks.mdx
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import img11 from "assets/img/docs/img11.png"
15
15
importimg12from"assets/img/docs/img12.png"
16
16
importimg13from"assets/img/docs/img13.png"
17
17
18
-
In this tutorial, we will demonstrate how to run the AWS Distro for OpenTelemetry(ADOT Collector) Collector as
18
+
In this tutorial, we will demonstrate how to run the AWS Distro for OpenTelemetry(ADOT) Collector as
19
19
sidecar on the Amazon Elastic Kubernetes Service (Amazon EKS).
20
20
21
21
<SectionSeparator />
@@ -40,15 +40,17 @@ Sidecar is a microservice design pattern where a companion service runs next to
40
40
abilities or intercepting resources it is utilizing. We recommend deploying ADOT Collector on Amazon EKS as a sidecar,
41
41
defining it in the same task definition as your application. This allows the ADOT Collector to collect the metric and
42
42
trace data for the application.
43
+
43
44
1. Create a Kubernetes namespace.
44
45
```
45
46
kubectl create namespace aws-otel-eks
46
47
```
47
-
2. An example configuration template can be
48
-
found [under examples in the AWS Distro for OpenTelemetry Collector GitHub](https://github.com/aws-observability/aws-otel-collector/blob/main/examples/eks/aws-cloudwatch/otel-sidecar.yaml).
49
-
Replace `{{aws-otelImage}}`with the name of the ADOT Collector Docker image you built
50
-
(For example, `aottestbed/awscollector:v0.1.12`), and `{{region}}` with the name of the Region where the logs are published (For example, `us-west-2`).
48
+
2. An example configuration template can be found under [examples here](https://github.com/aws-observability/aws-otel-collector/blob/main/examples/eks/aws-cloudwatch/otel-sidecar.yaml) in the AWS Distro for OpenTelemetry Collector GitHub Repo.
49
+
* In this example you can replace [image](https://github.com/aws-observability/aws-otel-collector/blob/main/examples/eks/aws-cloudwatch/otel-sidecar.yaml#L41) with ADOT Collector Docker image you built
50
+
(Ex:`amazon/aws-otel-collector:latest`), and `AWS_REGION`with the name of the region where the logs are published (Ex: `us-west-2`).
0 commit comments