Created
January 14, 2022 21:52
-
-
Save davidmlentz/9e5ac1db905d428657e1e7a0599066ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: consul.hashicorp.com/v1alpha1 | |
kind: ProxyDefaults | |
metadata: | |
name: global | |
spec: | |
config: | |
envoy_dogstatsd_url: "udp://${HOST_IP}:8125" | |
envoy_extra_static_clusters_json: | | |
{ | |
"name": "datadog_8126", | |
"type": "STRICT_DNS", | |
"connect_timeout": "3.000s", | |
"dns_lookup_family": "V4_ONLY", | |
"lb_policy": "ROUND_ROBIN", | |
"load_assignment": { | |
"cluster_name": "datadog_8126", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "datadog-agent-cluster-agent", | |
"port_value": 8126, | |
"protocol": "TCP" | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
envoy_tracing_json: | | |
{ | |
"http": { | |
"name": "envoy.tracers.datadog", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.config.trace.v3.DatadogConfig", | |
"collector_cluster": "datadog_8126", | |
"service_name": "envoy" | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment