Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing: just control ansi colors with feature flags #1006

Merged
merged 4 commits into from
May 13, 2021

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented May 13, 2021

This branch changes how ANSI terminal color codes are enabled. Now that
we have updated the proxy to Rust 1.52.1, we can use the resolver = "2"
cargo feature, which results in feature flags enabled by dev
dependencies not enable features in the main build. This lets us
toggle ANSI colors on and off using a dev-dependency, the way you would
expect it to work.

Also, I moved all the test tracing setup into the linkerd-tracing
crate, so we can use it everywhere.

Closes #997

hawkw added 2 commits May 12, 2021 16:05
aaghghghgh i want the last two goddamn hours of my life back!!!!!!

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw requested a review from a team May 13, 2021 00:16
@olix0r olix0r merged commit 27b6af3 into main May 13, 2021
@olix0r olix0r deleted the eliza/tracing-feature-flags-2 branch May 13, 2021 01:41
olix0r added a commit to linkerd/linkerd2 that referenced this pull request May 14, 2021
This release adds an `l5d-client-id` header on mutually-authenticated
inbound requests so that applications can discover the client's
identity. This header is omitted on requests from unauthenticated
connections.

---

* improve diagnostics for rejected profile discovery (linkerd/linkerd2-proxy#998)
* Prepare for Rust 1.50+ by boxing large futures (linkerd/linkerd2-proxy#1003)
* http: Remove `identity_from_header` helper (linkerd/linkerd2-proxy#1004)
* inbound: Set the l5d-client-id header (linkerd/linkerd2-proxy#981)
* chore: update Rust toolchain to 1.52.1 (linkerd/linkerd2-proxy#1005)
* tracing: just control ansi colors with feature flags (linkerd/linkerd2-proxy#1006)
* ci: Use a matrix of fuzzer targets (linkerd/linkerd2-proxy#1007)
* outbound: Box HTTP endpoint stack (linkerd/linkerd2-proxy#1008)
* Box all stack modules (linkerd/linkerd2-proxy#1011)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request May 19, 2021
This release adds an `l5d-client-id` header on mutually-authenticated
inbound requests so that applications can discover the client's
identity. This header is omitted on requests from unauthenticated
connections.

---

* improve diagnostics for rejected profile discovery (linkerd/linkerd2-proxy#998)
* Prepare for Rust 1.50+ by boxing large futures (linkerd/linkerd2-proxy#1003)
* http: Remove `identity_from_header` helper (linkerd/linkerd2-proxy#1004)
* inbound: Set the l5d-client-id header (linkerd/linkerd2-proxy#981)
* chore: update Rust toolchain to 1.52.1 (linkerd/linkerd2-proxy#1005)
* tracing: just control ansi colors with feature flags (linkerd/linkerd2-proxy#1006)
* ci: Use a matrix of fuzzer targets (linkerd/linkerd2-proxy#1007)
* outbound: Box HTTP endpoint stack (linkerd/linkerd2-proxy#1008)
* Box all stack modules (linkerd/linkerd2-proxy#1011)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants