Skip to content

port stack-metrics to std::future#513

Merged
hawkw merged 1 commit intomaster-tokio-0.2from
eliza/0.2-stack-metrics
May 13, 2020
Merged

port stack-metrics to std::future#513
hawkw merged 1 commit intomaster-tokio-0.2from
eliza/0.2-stack-metrics

Conversation

@hawkw
Copy link
Contributor

@hawkw hawkw commented May 13, 2020

I had forgotten that linkerd2-stack-metrics is actually kind of load
bearing: the TrackServiceLayer is necessary for powering cache
eviction as well as being used for debugging. It turns out that we need
this to create stacks that work.

This branch ports linkerd2-stack-metrics to std::future. This change
was pretty trivial; I just updated to use the new tower::Service
trait. I also pruned a bunch of dependencies that this crate wasn't
actually using from the Cargo.toml.

Signed-off-by: Eliza Weisman [email protected]

I had forgotten that `linkerd2-stack-metrics` is actually kind of load
bearing: the `TrackServiceLayer` is necessary for powering cache
eviction as well as being used for debugging. It turns out that we need
this to create stacks that work.

This branch ports `linkerd2-stack-metrics` to std::future. This change
was pretty trivial; I just updated to use the new `tower::Service`
trait. I also pruned a bunch of dependencies that this crate wasn't
actually using from the Cargo.toml.

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw requested a review from a team May 13, 2020 19:23
@hawkw hawkw requested a review from a team May 13, 2020 19:26
@hawkw hawkw merged commit 47d207b into master-tokio-0.2 May 13, 2020
@olix0r olix0r deleted the eliza/0.2-stack-metrics branch May 13, 2020 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants