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

[Cherry-pick #2659 -> 1.31] Increase number of buckets for DualStack and Multinet Latency metrics #2674

Open
wants to merge 1 commit into
base: release-1.31
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions pkg/l4lb/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var (
prometheus.HistogramOpts{
Name: L4ILBDualStackLatencyMetricName,
Help: "Latency of an L4 ILB DualStack Sync",
Buckets: prometheus.ExponentialBuckets(0.5, 2, 12),
Buckets: prometheus.ExponentialBuckets(0.5, 2, 15),
},
l4LBDualStackSyncLatencyMetricsLabels,
)
Expand All @@ -83,15 +83,15 @@ var (
prometheus.HistogramOpts{
Name: L4ILBMultiNetLatencyMetricName,
Help: "Latency of an L4 ILB Multinet Sync",
Buckets: prometheus.ExponentialBuckets(0.5, 2, 12),
Buckets: prometheus.ExponentialBuckets(0.5, 2, 15),
},
l4LBSyncLatencyCommonMetricLabels,
)
l4NetLBMultiNetSyncLatency = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: L4NetLBMultiNetLatencyMetricName,
Help: "Latency of an L4 NetLB Multinet Sync",
Buckets: prometheus.ExponentialBuckets(0.5, 2, 12),
Buckets: prometheus.ExponentialBuckets(0.5, 2, 15),
},
l4LBSyncLatencyCommonMetricLabels,
)
Expand All @@ -118,7 +118,7 @@ var (
prometheus.HistogramOpts{
Name: L4NetLBDualStackLatencyMetricName,
Help: "Latency of an L4 NetB DualStack Sync",
Buckets: prometheus.ExponentialBuckets(0.5, 2, 12),
Buckets: prometheus.ExponentialBuckets(0.5, 2, 15),
},
l4LBDualStackSyncLatencyMetricsLabels,
)
Expand Down