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

feat(metrics): remove dst_zone label, reduce number of latency buckets #166

Open
wants to merge 1 commit into
base: v2.230.0-light-metrics
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -A deprecated"
RUSTUP_MAX_RETRIES: 11
RUSTUP_MAX_RETRIES: 19

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion linkerd/app/core/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ where
let mut out = format!("{}_{}=\"{}\"", prefix, k0, v0);

for (k, v) in labels_iter {
if k == "pod" || k == "pod_template_hash" {
if k == "pod" || k == "pod_template_hash" || k == "zone" {
continue;
}

Expand Down
14 changes: 0 additions & 14 deletions linkerd/metrics/src/latency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,16 @@ use super::histogram::{Bounds, Bucket, Histogram};
/// milliseconds.
pub const BOUNDS: &Bounds = &Bounds(&[
Bucket::Le(1.0),
Bucket::Le(2.0),
Bucket::Le(3.0),
Bucket::Le(4.0),
Bucket::Le(5.0),
Bucket::Le(10.0),
Bucket::Le(20.0),
Bucket::Le(30.0),
Bucket::Le(40.0),
Bucket::Le(50.0),
Bucket::Le(100.0),
Bucket::Le(200.0),
Bucket::Le(300.0),
Bucket::Le(400.0),
Bucket::Le(500.0),
Bucket::Le(1_000.0),
Bucket::Le(2_000.0),
Bucket::Le(3_000.0),
Bucket::Le(4_000.0),
Bucket::Le(5_000.0),
Bucket::Le(10_000.0),
Bucket::Le(20_000.0),
Bucket::Le(30_000.0),
Bucket::Le(40_000.0),
Bucket::Le(50_000.0),
// A final upper bound.
Bucket::Inf,
]);
Expand Down
Loading