Monitor / view current TCP connection routing for long lived connections
#6,259 建立於 2019年3月12日
倉庫指標
- Star
- (27,997 star)
- PR 合併指標
- (平均合併 8天) (30 天內合併 378 個 PR)
描述
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).