proxylatency.proto

Package : envoy.config.filter.http.proxylatency.v2

Top

proxylatency.proto

Table of Contents

ProxyLatency

Field Type Label Description
request envoy.config.filter.http.proxylatency.v2.ProxyLatency.Measurement How to measure the request.
measureRequestInternally bool When FIRST_OUTGOING (i.e. LAST_INCOMING_FIRST_OUTGOING or FIRST_INCOMING_FIRST_OUTGOING) is selected for request measurment, finish measuring proxy latency when decodeHeader for this filter is hit instead of when the first byte is sent upstream. This has the advantage of not measuring the time it takes a connection to form, which may skew the P99. For this to work this filter should be inserted last, just before the router filter. This has no effect if other measurement type is selected, and has no effect on how response is measured.
response envoy.config.filter.http.proxylatency.v2.ProxyLatency.Measurement How measure the response.
chargeClusterStat google.protobuf.BoolValue Charge a stat per upstream cluster. If not specified, defaults to true.
chargeListenerStat google.protobuf.BoolValue Charge a stat per listener. If not specified, defaults to true.
emitDynamicMetadata google.protobuf.BoolValue Should we emit request timing to dynamic metadata. defaults to true.

ProxyLatency.Measurement

Name Number Description
LAST_INCOMING_FIRST_OUTGOING 0 Count from the last byte of the incoming request\response to the first byte of the outgoing request\response.
FIRST_INCOMING_FIRST_OUTGOING 1 Count from the first byte of the incoming request\response to the first byte of the outgoing request\response.
LAST_INCOMING_LAST_OUTGOING 2 Count from the last byte of the incoming request\response to the last byte of the outgoing request\response.
FIRST_INCOMING_LAST_OUTGOING 3 Count from the first byte of the incoming request\response to the last byte of the outgoing request\response.