File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -52,28 +52,26 @@ receivers:
52
52
otlp :
53
53
protocols :
54
54
grpc :
55
+ endpoint : 0.0.0.0:55681
55
56
56
57
exporters :
57
58
logging :
58
59
loglevel : debug
59
- otlp :
60
- protocols :
61
- http :
62
- endpoint : 0.0.0.0:55681
60
+ awsxray :
63
61
64
62
# enables output for traces to xray
65
63
service :
66
64
pipelines :
67
65
traces :
68
66
receivers : [otlp]
69
- exporters : [logging, xray ]
67
+ exporters : [logging, awsxray ]
70
68
` ` `
71
69
You can set this via the Lambda console, or via the AWS CLI.
72
70
` ` `
73
71
aws lambda update-function-configuration --function-name Function --environment Variables={OPENTELEMETRY_COLLECTOR_CONFIG_FILE=/var/task/collector.yaml}
74
72
```
75
73
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.
77
75
You can set this via the Lambda console, or via the AWS CLI.
78
76
```
79
77
aws lambda update-function-configuration --function-name Function --environment Variables={OPENTELEMETRY_COLLECTOR_CONFIG_FILE=/opt/collector.yaml}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ The region is where the data will be sent to.
38
38
39
39
``` yaml
40
40
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"]
42
42
environment :
43
43
- AWS_ACCESS_KEY_ID=<to_be_added>
44
44
- AWS_SECRET_ACCESS_KEY=<to_be_added>
You can’t perform that action at this time.
0 commit comments