linkerd2/proxy/tests
Oliver Gould d4d0e579c2
Introduce the `peer` label to transport metrics (#848)
Previously, the proxy exposed separate _accept_ and _connect_ metrics
for some metric types, but not for all. This leads to confusing
aggregations, particularly for read and write taotals.

This change primarily introduces the `peer` prometheus label (with
possible values _src_ or _dst_) to indicate which side of the proxy the
metric reflects.

Additionally, the `received_bytes` and `sent_bytes` metrics have been
renamed as `tcp_read_bytes_total` and `tcp_write_bytes_total`,
resectively. This more naturally fits into existing idioms.  Stream
classification is not applied to these metrics, as we plan to increment
them throughout stream lifetime and not only on close.

The `tcp_connections_open` metric has also been renamed to
`tcp_open_connections` to reflect Prometheus idioms.

Finally, `msg1` and `msg2` have been constified in telemetry test
fixtures so that tests are somewhat easier to read.
2018-04-25 14:06:33 -07:00
..
support Add optional GZIP compression to proxy /metrics endpoint (#665) 2018-04-24 17:42:50 -07:00
discovery.rs proxy: Rewrite mock controller to accept a stream of dst updates (#808) 2018-04-19 11:01:10 -07:00
shutdown.rs proxy tests: reduce some boilerplate, improve error information (#833) 2018-04-23 18:01:51 -07:00
telemetry.rs Introduce the `peer` label to transport metrics (#848) 2018-04-25 14:06:33 -07:00
transparency.rs proxy tests: reduce some boilerplate, improve error information (#833) 2018-04-23 18:01:51 -07:00