Skip to content

Commit

Permalink
Update aws-otel-config-file.yaml (#1537)
Browse files Browse the repository at this point in the history
* Add resourcedetection
* Add additional receivers
  • Loading branch information
mat-rumian committed May 20, 2021
1 parent 22ebc04 commit 3938c0d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
36 changes: 23 additions & 13 deletions examples/non-kubernetes/aws-otel-config-file.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
extensions:
health_check:
receivers:
awsxray:
endpoint: 0.0.0.0:2000
transport: udp
jaeger:
protocols:
thrift_compact:
endpoint: 0.0.0.0:6831
thrift_binary:
endpoint: 0.0.0.0:6832
grpc:
endpoint: 0.0.0.0:14250
thrift_http:
endpoint: 0.0.0.0:14268
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:55681
awsxray:
endpoint: 0.0.0.0:2000
transport: udp
zipkin:
endpoint: 0.0.0.0:9411
processors:
batch/traces:
timeout: 1s
send_batch_size: 50
batch/metrics:
timeout: 60s
timeout: 5s
send_batch_size: 256
resourcedetection:
detectors: [env, ec2, ecs]
timeout: 5s
override: true
exporters:
otlphttp:
endpoint: $SUMO_HTTP_TRACES_URL
service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp,awsxray]
processors: [batch/traces]
exporters: [otlphttp]
metrics:
receivers: [otlp]
processors: [batch/metrics]
receivers: [awsxray,jaeger,otlp,zipkin]
processors: [resourcedetection,batch/traces]
exporters: [otlphttp]
15 changes: 15 additions & 0 deletions examples/non-kubernetes/aws-otel-ecs-fargate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ Resources:
- hostPort: 4317
protocol: tcp
containerPort: 4317
- hostPort: 6831
protocol: udp
containerPort: 6831
- hostPort: 6832
protocol: udp
containerPort: 6832
- hostPort: 9411
protocol: tcp
containerPort: 9411
- hostPort: 14250
protocol: tcp
containerPort: 14250
- hostPort: 14268
protocol: tcp
containerPort: 14268
- hostPort: 55681
protocol: tcp
containerPort: 55681
Expand Down

0 comments on commit 3938c0d

Please sign in to comment.