Skip to content

Commit 3938c0d

Browse files
authored
Update aws-otel-config-file.yaml (#1537)
* Add resourcedetection * Add additional receivers
1 parent 22ebc04 commit 3938c0d

File tree

2 files changed

+38
-13
lines changed

2 files changed

+38
-13
lines changed
Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,42 @@
11
extensions:
22
health_check:
33
receivers:
4+
awsxray:
5+
endpoint: 0.0.0.0:2000
6+
transport: udp
7+
jaeger:
8+
protocols:
9+
thrift_compact:
10+
endpoint: 0.0.0.0:6831
11+
thrift_binary:
12+
endpoint: 0.0.0.0:6832
13+
grpc:
14+
endpoint: 0.0.0.0:14250
15+
thrift_http:
16+
endpoint: 0.0.0.0:14268
417
otlp:
518
protocols:
619
grpc:
720
endpoint: 0.0.0.0:4317
821
http:
922
endpoint: 0.0.0.0:55681
10-
awsxray:
11-
endpoint: 0.0.0.0:2000
12-
transport: udp
23+
zipkin:
24+
endpoint: 0.0.0.0:9411
1325
processors:
1426
batch/traces:
15-
timeout: 1s
16-
send_batch_size: 50
17-
batch/metrics:
18-
timeout: 60s
27+
timeout: 5s
28+
send_batch_size: 256
29+
resourcedetection:
30+
detectors: [env, ec2, ecs]
31+
timeout: 5s
32+
override: true
1933
exporters:
2034
otlphttp:
2135
endpoint: $SUMO_HTTP_TRACES_URL
2236
service:
2337
extensions: [health_check]
2438
pipelines:
2539
traces:
26-
receivers: [otlp,awsxray]
27-
processors: [batch/traces]
28-
exporters: [otlphttp]
29-
metrics:
30-
receivers: [otlp]
31-
processors: [batch/metrics]
40+
receivers: [awsxray,jaeger,otlp,zipkin]
41+
processors: [resourcedetection,batch/traces]
3242
exporters: [otlphttp]

examples/non-kubernetes/aws-otel-ecs-fargate-deployment.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,21 @@ Resources:
5555
- hostPort: 4317
5656
protocol: tcp
5757
containerPort: 4317
58+
- hostPort: 6831
59+
protocol: udp
60+
containerPort: 6831
61+
- hostPort: 6832
62+
protocol: udp
63+
containerPort: 6832
64+
- hostPort: 9411
65+
protocol: tcp
66+
containerPort: 9411
67+
- hostPort: 14250
68+
protocol: tcp
69+
containerPort: 14250
70+
- hostPort: 14268
71+
protocol: tcp
72+
containerPort: 14268
5873
- hostPort: 55681
5974
protocol: tcp
6075
containerPort: 55681

0 commit comments

Comments
 (0)