Monitor / view current TCP connection routing for long lived connections
#6.259 aberto em 12 de mar. de 2019
Métricas do repositório
- Stars
- (27.997 stars)
- Métricas de merge de PR
- (Mesclagem média 8d) (378 fundiu PRs em 30d)
Description
Note: This might be related to https://github.com/envoyproxy/envoy/issues/3818 .
Using envoyproxy/envoy:v1.9.0 .
We have a requirement / enhancement request to see what TCP connections are currently active. What would quickly help us out, is to add an option to the access logger to log at (established) connect time, next to the disconnect time.
To be able to query the admin API for this would be great as well.
More details:
We use Envoy for long lived TCP connections, with two-way trust and SNI. Via SNI, a dedicated cluster is selected, via filter_chain_match. TCP connections are long lived (can be days). Currently, the access logger only logs at disconnect (and for stats like bytes_recieved this makes sense).