2019-04-30 14:59:00 +00:00
|
|
|
{
|
|
|
|
"admin": {
|
|
|
|
"access_log_path": "/dev/null",
|
|
|
|
"address": {
|
|
|
|
"socket_address": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port_value": 19000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"node": {
|
|
|
|
"cluster": "test-proxy",
|
2020-01-24 15:04:58 +00:00
|
|
|
"id": "test-proxy",
|
|
|
|
"metadata": {
|
2020-02-10 19:53:04 +00:00
|
|
|
"namespace": "default",
|
2021-09-15 01:37:11 +00:00
|
|
|
"partition": "default",
|
2021-08-31 16:39:18 +00:00
|
|
|
"envoy_version": "1.18.4"
|
2020-01-24 15:04:58 +00:00
|
|
|
}
|
2019-04-30 14:59:00 +00:00
|
|
|
},
|
|
|
|
"static_resources": {
|
|
|
|
"clusters": [
|
|
|
|
{
|
|
|
|
"name": "local_agent",
|
2021-02-26 22:23:15 +00:00
|
|
|
"ignore_health_on_host_removal": false,
|
2019-04-30 14:59:00 +00:00
|
|
|
"connect_timeout": "1s",
|
|
|
|
"type": "STATIC",
|
|
|
|
"http2_protocol_options": {},
|
2021-02-22 21:00:15 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "local_agent",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socket_address": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port_value": 8502
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2019-04-30 14:59:00 +00:00
|
|
|
}
|
2021-02-22 21:00:15 +00:00
|
|
|
]
|
|
|
|
}
|
2019-04-30 14:59:00 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"stats_config": {
|
2019-08-16 14:30:17 +00:00
|
|
|
"stats_tags": [
|
2020-11-16 23:37:19 +00:00
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:([^.]+)~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.custom_hash"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:([^.]+)\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.service_subset"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:[^.]+\\.)?([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.service"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.namespace"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.datacenter"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.routing_type"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.trust_domain"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.target"
|
|
|
|
},
|
|
|
|
{
|
2021-06-09 20:34:17 +00:00
|
|
|
"regex": "^cluster\\.(?:passthrough~)?(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+)\\.consul\\.)",
|
2020-11-16 23:37:19 +00:00
|
|
|
"tag_name": "consul.destination.full_target"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^(?:tcp|http)\\.upstream\\.(([^.]+)(?:\\.[^.]+)?\\.[^.]+\\.)",
|
|
|
|
"tag_name": "consul.upstream.service"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^(?:tcp|http)\\.upstream\\.([^.]+(?:\\.[^.]+)?\\.([^.]+)\\.)",
|
|
|
|
"tag_name": "consul.upstream.datacenter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^(?:tcp|http)\\.upstream\\.([^.]+(?:\\.([^.]+))?\\.[^.]+\\.)",
|
|
|
|
"tag_name": "consul.upstream.namespace"
|
|
|
|
},
|
2019-08-16 14:30:17 +00:00
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:([^.]+)~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.custom_hash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:([^.]+)\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.service_subset"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.service"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.namespace"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.datacenter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.routing_type"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.consul\\.)",
|
|
|
|
"tag_name": "consul.trust_domain"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
|
|
|
"tag_name": "consul.target"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+)\\.consul\\.)",
|
|
|
|
"tag_name": "consul.full_target"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"tag_name": "local_cluster",
|
|
|
|
"fixed_value": "test-proxy"
|
2020-11-16 23:37:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"tag_name": "consul.source.service",
|
|
|
|
"fixed_value": "test-proxy"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"tag_name": "consul.source.namespace",
|
|
|
|
"fixed_value": "default"
|
|
|
|
},
|
2021-09-15 01:37:11 +00:00
|
|
|
{
|
|
|
|
"tag_name": "consul.source.partition",
|
|
|
|
"fixed_value": "default"
|
|
|
|
},
|
2020-11-16 23:37:19 +00:00
|
|
|
{
|
|
|
|
"tag_name": "consul.source.datacenter",
|
|
|
|
"fixed_value": "dc1"
|
2019-08-16 14:30:17 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"use_all_default_tags": true
|
|
|
|
},
|
2019-04-30 14:59:00 +00:00
|
|
|
"dynamic_resources": {
|
2019-08-16 14:30:17 +00:00
|
|
|
"lds_config": {
|
2021-02-26 22:23:15 +00:00
|
|
|
"ads": {},
|
|
|
|
"resource_api_version": "V3"
|
2019-08-16 14:30:17 +00:00
|
|
|
},
|
|
|
|
"cds_config": {
|
2021-02-26 22:23:15 +00:00
|
|
|
"ads": {},
|
|
|
|
"resource_api_version": "V3"
|
2019-08-16 14:30:17 +00:00
|
|
|
},
|
2019-04-30 14:59:00 +00:00
|
|
|
"ads_config": {
|
2021-04-29 18:54:05 +00:00
|
|
|
"api_type": "DELTA_GRPC",
|
2021-02-26 22:23:15 +00:00
|
|
|
"transport_api_version": "V3",
|
2019-04-30 14:59:00 +00:00
|
|
|
"grpc_services": {
|
|
|
|
"initial_metadata": [
|
|
|
|
{
|
|
|
|
"key": "x-consul-token",
|
|
|
|
"value": "c9a52720-bf6c-4aa6-b8bc-66881a5ade95"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"envoy_grpc": {
|
|
|
|
"cluster_name": "local_agent"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-07 19:22:52 +00:00
|
|
|
|