mirror of https://github.com/linkerd/linkerd2.git
Proxy tasks emit events to the telemetry system. These events are used aggregate counts and latencies, as well as to inform Tap requests. Initially, these events included durations, describing the relevant time that elapsed between this event and another. This approach is somewhat inflexible -- it unnecessarily constrains the set of measurements that can computed in the telemetry system. To remedy this, the `Event` types can be changed to report discrete `Instant`s (rather than `Duration`s). Then, when latencies are computed in the telemetry system, these discrete instants can be compared to produce durations. There are no functional changes in this PR. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
build.rs |