1b81cccbf9
* Expose Envoy /stats for statsd agents; Add testcases * Remove merge conflict leftover * Add support for prefix instead of path; Fix docstring to mirror these changes * Add new config field to docs; Add testcases to check that /stats/prometheus is exposed as well * Parametrize matchType (prefix or path) and value * Update website/source/docs/connect/proxies/envoy.md Co-Authored-By: Paul Banks <banks@banksco.de> Co-authored-by: Paul Banks <banks@banksco.de>
24 lines
405 B
HCL
24 lines
405 B
HCL
services {
|
|
name = "s1"
|
|
port = 8080
|
|
connect {
|
|
sidecar_service {
|
|
proxy {
|
|
upstreams = [
|
|
{
|
|
destination_name = "s2"
|
|
local_bind_port = 5000
|
|
config {
|
|
protocol = "http"
|
|
}
|
|
}
|
|
]
|
|
config {
|
|
protocol = "http"
|
|
envoy_stats_bind_addr = "0.0.0.0:1239"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|