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

Add examples for envoy v1.15 and v1.16 #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
32 changes: 30 additions & 2 deletions examples/envoy-tracing/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,36 @@ services:
volumes:
- './envoy-ed6a1b8.yaml:/etc/envoy/envoy.yaml:ro'

envoy-v1.16:
image: envoyproxy/envoy:v1.16.1
depends_on:
- dd-agent
entrypoint: []
command:
- envoy
- -l
- debug
- -c
- /etc/envoy/envoy.yaml
volumes:
- './envoy-v1.16.yaml:/etc/envoy/envoy.yaml:ro'

envoy-v1.15:
image: envoyproxy/envoy:v1.15.3
depends_on:
- dd-agent
entrypoint: []
command:
- envoy
- -l
- debug
- -c
- /etc/envoy/envoy.yaml
volumes:
- './envoy-v1.15.yaml:/etc/envoy/envoy.yaml:ro'

envoy-v1.14:
image: envoyproxy/envoy:v1.14.1
image: envoyproxy/envoy:v1.14.6
depends_on:
- dd-agent
entrypoint: []
Expand All @@ -39,7 +67,7 @@ services:
- './envoy-v1.14.yaml:/etc/envoy/envoy.yaml:ro'

envoy-v1.13:
image: envoyproxy/envoy:v1.13.1
image: envoyproxy/envoy:v1.13.7
depends_on:
- dd-agent
entrypoint: []
Expand Down
4 changes: 2 additions & 2 deletions examples/envoy-tracing/envoy-ed6a1b8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ tracing:
name: envoy.tracers.datadog
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example # user-defined service name
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example-ed6a1b8 # user-defined service name

admin:
access_log_path: "/dev/null"
Expand Down
2 changes: 1 addition & 1 deletion examples/envoy-tracing/envoy-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ tracing:
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example # user-defined service name
service_name: envoy-example-v1.11 # user-defined service name

admin:
access_log_path: "/dev/null"
Expand Down
2 changes: 1 addition & 1 deletion examples/envoy-tracing/envoy-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tracing:
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example # user-defined service name
service_name: envoy-example-v1.12 # user-defined service name

admin:
access_log_path: "/dev/null"
Expand Down
2 changes: 1 addition & 1 deletion examples/envoy-tracing/envoy-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tracing:
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example # user-defined service name
service_name: envoy-example-v1.13 # user-defined service name

admin:
access_log_path: "/dev/null"
Expand Down
2 changes: 1 addition & 1 deletion examples/envoy-tracing/envoy-v1.14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tracing:
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent # matched against the named cluster below
service_name: envoy-example # user-defined service name
service_name: envoy-example-v1.14 # user-defined service name

admin:
access_log_path: "/dev/null"
Expand Down
82 changes: 82 additions & 0 deletions examples/envoy-tracing/envoy-v1.15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 80
traffic_direction: OUTBOUND
filter_chains:
- filters:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
generate_request_id: true
tracing:
provider:
name: envoy.tracers.datadog
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent
service_name: envoy-example-v1.15
codec_type: auto
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: backend
domains:
- "*"
routes:
- match:
prefix: "/"
route:
cluster: service1
http_filters:
# Traces for healthcheck requests should not be sampled.
- name: envoy.filters.http.health_check
typed_config:
"@type": type.googleapis.com/envoy.config.filter.http.health_check.v2.HealthCheck
pass_through_mode: false
headers:
- exact_match: /healthcheck
name: :path
- name: envoy.filters.http.router
typed_config: {}
use_remote_address: true
clusters:
- name: service1
connect_timeout: 0.250s
type: strict_dns
lb_policy: round_robin
http2_protocol_options: {}
load_assignment:
cluster_name: service1
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: service1
port_value: 80
# Configure this cluster with the address of the datadog agent
# for sending traces.
- name: datadog_agent
connect_timeout: 1s
type: strict_dns
lb_policy: round_robin
load_assignment:
cluster_name: datadog_agent
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: dd-agent
port_value: 8126

admin:
access_log_path: "/dev/null"
address:
socket_address:
address: 0.0.0.0
port_value: 8001
82 changes: 82 additions & 0 deletions examples/envoy-tracing/envoy-v1.16.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 80
traffic_direction: OUTBOUND
filter_chains:
- filters:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
generate_request_id: true
tracing:
provider:
name: envoy.tracers.datadog
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DatadogConfig
collector_cluster: datadog_agent
service_name: envoy-example-v1.16
codec_type: auto
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: backend
domains:
- "*"
routes:
- match:
prefix: "/"
route:
cluster: service1
http_filters:
# Traces for healthcheck requests should not be sampled.
- name: envoy.filters.http.health_check
typed_config:
"@type": type.googleapis.com/envoy.config.filter.http.health_check.v2.HealthCheck
pass_through_mode: false
headers:
- exact_match: /healthcheck
name: :path
- name: envoy.filters.http.router
typed_config: {}
use_remote_address: true
clusters:
- name: service1
connect_timeout: 0.250s
type: strict_dns
lb_policy: round_robin
http2_protocol_options: {}
load_assignment:
cluster_name: service1
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: service1
port_value: 80
# Configure this cluster with the address of the datadog agent
# for sending traces.
- name: datadog_agent
connect_timeout: 1s
type: strict_dns
lb_policy: round_robin
load_assignment:
cluster_name: datadog_agent
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: dd-agent
port_value: 8126

admin:
access_log_path: "/dev/null"
address:
socket_address:
address: 0.0.0.0
port_value: 8001