Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws-otel-config-file.yaml #1537

Merged
merged 6 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions examples/non-kubernetes/aws-otel-config-file.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@
extensions:
health_check:
receivers:
awsxray:
endpoint: 0.0.0.0:2000
transport: udp
jaeger:
protocols:
thrift_compact:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need all those formats supported? Some of them are considered deprecated AFAIK

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is still possible to use exporters for this formats. I would leave them. Can be removed in the future.

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/ec2:
detectors: [env, ec2]
timeout: 5s
override: true
resourcedetection/ecs:
detectors: [env, ecs]
mat-rumian marked this conversation as resolved.
Show resolved Hide resolved
timeout: 5s
override: false
exporters:
otlphttp:
endpoint: $SUMO_HTTP_TRACES_URL
Expand All @@ -24,9 +42,5 @@ service:
pipelines:
traces:
receivers: [otlp,awsxray]
processors: [batch/traces]
exporters: [otlphttp]
metrics:
receivers: [otlp]
processors: [batch/metrics]
processors: [resourcedetection/ec2, resourcedetection/ecs, 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