From 400aa6ca45c5f9858224aa9e5a9a270c0d5ee7ff Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Wed, 8 Jul 2020 12:11:56 +0200 Subject: [PATCH] terraform envoy-datadog.yml update --- terraform/templates/envoy-datadog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/templates/envoy-datadog.yml b/terraform/templates/envoy-datadog.yml index 221231e..84767ca 100644 --- a/terraform/templates/envoy-datadog.yml +++ b/terraform/templates/envoy-datadog.yml @@ -1 +1 @@ -{ "dynamic_resources": { "ads_config": { "api_type": "GRPC", "transport_api_version": "V3", "grpc_services": { "envoy_grpc": { "cluster_name": "xds_cluster" } } }, "cds_config": { "resource_api_version": "V3", "api_config_source": { "api_type": "GRPC", "grpc_services": { "envoy_grpc": { "cluster_name": "xds_cluster" } } } }, "lds_config": { "resource_api_version": "V3", "api_config_source": { "api_type": "GRPC", "grpc_services": { "envoy_grpc": { "cluster_name": "xds_cluster" } } } } }, "node": { "cluster": "${CLUSTER}", "id": "${ID}" }, "static_resources": { "clusters": [ { "name": "xds_cluster", "connect_timeout": "1s", "type": "strict_dns", "http2_protocol_options": { }, "load_assignment": { "cluster_name": "xds_cluster", "endpoints": [ { "lb_endpoints": [ { "endpoint": { "address": { "socket_address": { "address": "${ADDRESS}", "port_value": 8080 } } } } ] } ] } }, { "name": "datadog_agent", "connect_timeout": "1s", "type": "strict_dns", "lb_policy": "round_robin", "hosts": [ { "socket_address": { "address": "${DATADOG}", "port_value": 8126 } } ] } ] }, "tracing": { "http": { "name": "envoy.tracers.datadog", "config": { "collector_cluster": "datadog_agent", "service_name": "envoy" } } }, "admin": { "access_log_path": "/tmp/admin_access.log", "address": { "socket_address": { "address": "0.0.0.0", "port_value": ${ADMIN_PORT} } } } } +{ "dynamic_resources": { "ads_config": { "api_type": "GRPC", "transport_api_version": "V3", "grpc_services": { "envoy_grpc": { "cluster_name": "xds_cluster" } } }, "cds_config": { "ads": { }, "resource_api_version": "V3" }, "lds_config": { "ads": { }, "resource_api_version": "V3" } }, "node": { "cluster": "${CLUSTER}", "id": "${ID}" }, "static_resources": { "clusters": [ { "name": "xds_cluster", "connect_timeout": "1s", "type": "strict_dns", "http2_protocol_options": { }, "load_assignment": { "cluster_name": "xds_cluster", "endpoints": [ { "lb_endpoints": [ { "endpoint": { "address": { "socket_address": { "address": "${ADDRESS}", "port_value": 8080 } } } } ] } ] } }, { "name": "datadog_agent", "connect_timeout": "1s", "type": "strict_dns", "lb_policy": "round_robin", "hosts": [ { "socket_address": { "address": "${DATADOG}", "port_value": 8126 } } ] } ] }, "tracing": { "http": { "name": "envoy.tracers.datadog", "config": { "collector_cluster": "datadog_agent", "service_name": "envoy" } } }, "admin": { "access_log_path": "/tmp/admin_access.log", "address": { "socket_address": { "address": "0.0.0.0", "port_value": ${ADMIN_PORT} } } } }