@@ -9,9 +9,9 @@ import SectionSeparator from "components/MdxSectionSeparator/sectionSeparator.js
9
9
10
10
<SectionSeparator />
11
11
12
- ## Run ADOTCollector Beta on AWS EC2 Linux
12
+ ## Run ADOT Collector on AWS EC2 Linux
13
13
14
- To run ADOTCollector on AWS EC2 Linux host, you can choose to install ADOTCollector RPM on your host by the following steps.
14
+ To run ADOT Collector on AWS EC2 Linux host, you can choose to install ADOT Collector RPM on your host by the following steps.
15
15
16
16
** Steps,**
17
17
@@ -24,47 +24,33 @@ make package-rpm
24
24
```
25
25
sudo rpm -Uvh ./aws-otel-collector.rpm
26
26
```
27
- 3 . Once RPM is installed, it will create ADOTCollector in directory ``` /opt/aws/aws-otel-collector/ ```
27
+ 3 . Once RPM is installed, it will create ADOT Collector in directory ``` /opt/aws/aws-otel-collector/ ```
28
28
29
- 4 . We provided a control script to manage ADOTCollector . Customer can use it to Start, Stop and Check Status of ADOTCollector .
29
+ 4 . We provided a control script to manage ADOT Collector . Customer can use it to Start, Stop and Check Status of ADOT Collector .
30
30
31
- * Start ADOTCollector with CTL script. The config.yaml is optional, if it is not provided the default [ config] ( ../../config.yaml ) will be applied.
31
+ * Start ADOT Collector with CTL script. The config.yaml is optional, if it is not provided the default [ config] ( ../../config.yaml ) will be applied.
32
32
```
33
33
sudo /opt/aws/aws-otel-collector/bin/aws-otel-collector-ctl -c </path/config.yaml> -a start
34
34
```
35
- * Stop the running ADOTCollector when finish the testing.
35
+ * Stop the running ADOT Collector when finish the testing.
36
36
```
37
37
sudo /opt/aws/aws-otel-collector/bin/aws-otel-collector-ctl -a stop
38
38
```
39
- * Check the status of ADOTCollector
39
+ * Check the status of ADOT Collector
40
40
```
41
41
sudo /opt/aws/aws-otel-collector/bin/aws-otel-collector-ctl -a status
42
42
```
43
43
44
- 5 . Test the data with the running ADOTCollector on EC2. you can run the following command on EC2 host. (Docker app has to be pre-installed)
44
+ 5 . Test the data with the running ADOT Collector on EC2. you can run the following command on EC2 host. (Docker app has to be pre-installed)
45
45
```
46
46
docker run --rm -it -e "OTEL_OTLP_ENDPOINT=172.17.0.1:4317" -e "otlp_instance_id=test_insance_rpm" -e "OTEL_RESOURCE_ATTRIBUTES=service.namespace=ADOTCollectorRPMDemo,service.name=ADOTCollectorRPMDemoService" -e S3_REGION=us-west-2 aottestbed/aws-otel-collector-sample-app:java-0.1.0
47
47
```
48
48
49
49
** View Your Metrics**
50
- You should now be able to view your metrics in your [ CloudWatch console] ( https://console.aws.amazon.com/cloudwatch/ ) . In the navigation bar, click on ** Metrics** . The collected ADOTCollector metrics can be found in the ** ADOTCollectorRPMDemo/ADOTCollectorRPMDemoService** namespace.
50
+ You should now be able to view your metrics in your [ CloudWatch console] ( https://console.aws.amazon.com/cloudwatch/ ) . In the navigation bar, click on ** Metrics** . The collected ADOT Collector metrics can be found in the ** ADOTCollectorRPMDemo/ADOTCollectorRPMDemoService** namespace.
51
51
52
- ### Installing ADOTCollector via CloudFormation
53
- ### Install ADOTCollector on ECS EC2
54
- Download CloudFormation template file for installing ADOTCollector on ECS EC2 mode
55
- ```
56
- curl -O https://github.com/mxiamxia/aws-opentelemetry-collector/blob/master/deployment-template/ec2/aws-otel-ec2-deployment-cfn.template
57
- ```
58
- Run CloudFormation the following command once ``` IAMRole ``` , ``` Region ``` , ``` EC2Key ``` and ``` CFN_File_Downloaded ``` are filled.
59
- ```
60
- Region=<aws-region>
61
- IAMRole=<iam-role>
62
- EC2Key=<ec2-ssh-key-name>
63
- aws cloudformation create-stack --stack-name ADOTCollectorEC2-Test \
64
- --template-body file://<CFN_File_Downloaded> \
65
- --parameters ParameterKey=IAMRole,ParameterValue=${IAMRole} \
66
- ParameterKey=KeyName,ParameterValue=${EC2Key} \
67
- --capabilities CAPABILITY_NAMED_IAM \
68
- --region ${Region}
69
- ```
52
+ ### Installing ADOT Collector via CloudFormation
53
+ See [ this section] ( /docs/setup/ec2 ) for detailed information on installing ADOT Collector via CloudFormation on EC2.
70
54
55
+ ### Install ADOT Collector on ECS EC2
56
+ See [ this section] ( /docs/setup/ecs ) for detailed information on installing ADOT Collector on ECS.
0 commit comments