Skip to content

Commit abe362b

Browse files
authored
Small documentation fixes for Collector Config files (#185)
1 parent 4e89cc1 commit abe362b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/docs/getting-started/lambda.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,26 @@ receivers:
5252
otlp:
5353
protocols:
5454
grpc:
55+
endpoint: 0.0.0.0:55681
5556

5657
exporters:
5758
logging:
5859
loglevel: debug
59-
otlp:
60-
protocols:
61-
http:
62-
endpoint: 0.0.0.0:55681
60+
awsxray:
6361

6462
#enables output for traces to xray
6563
service:
6664
pipelines:
6765
traces:
6866
receivers: [otlp]
69-
exporters: [logging, xray]
67+
exporters: [logging, awsxray]
7068
```
7169
You can set this via the Lambda console, or via the AWS CLI.
7270
```
7371
aws lambda update-function-configuration --function-name Function --environment Variables={OPENTELEMETRY_COLLECTOR_CONFIG_FILE=/var/task/collector.yaml}
7472
```
7573

76-
As an alternative to uploading your collector.yaml file directly with your code, you can zip your file and upload your zip as a seperate Lambda layer.
74+
As an alternative to uploading your collector.yaml file directly with your code, you can zip your file and upload your zip as a separate Lambda layer.
7775
You can set this via the Lambda console, or via the AWS CLI.
7876
```
7977
aws lambda update-function-configuration --function-name Function --environment Variables={OPENTELEMETRY_COLLECTOR_CONFIG_FILE=/opt/collector.yaml}

src/docs/setup/docker-images.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The region is where the data will be sent to.
3838

3939
```yaml
4040
image: amazon/aws-otel-collector:latest
41-
command: ["--config=/etc/otel-agent-config.yaml", "--log-level=DEBUG"]
41+
command: ["--config=/etc/otel-agent-config.yaml"]
4242
environment:
4343
- AWS_ACCESS_KEY_ID=<to_be_added>
4444
- AWS_SECRET_ACCESS_KEY=<to_be_added>

0 commit comments

Comments
 (0)