You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
150666: changefeedccl: add sink backpressure time metric r=aerfrei a=asg0451
Add a new histogram metric `changefeed.sink_backpressure_nanos` that
measures time spent waiting for quota when emitting to the sink.
This provides visibility into downstream sink backpressure affecting
changefeed performance.
The metric is recorded per changefeed scope in batching_sink when
AdmitRequest returns ErrNotEnoughQuota, measuring the time from when
we start waiting for quota until it becomes available.
Includes unit test that exercises the metric under induced backpressure.
Fixes: #148417
Release note (enterprise change): Added changefeed.sink_backpressure_nanos
metric to track time spent waiting for quota when emitting to the sink.
150861: storage: use AssertionFailedf for panics r=RaduBerinde a=jbowens
Update a few panics that threw a simple string to throw an error constructed through AssertionFailedf. Where applicable, this error is propagated through a return value instead.
This is motivated by #150058, an instance where the panic string gets redacted, requiring a bit more work to identify the origin of the panic (through mapping the line number on the appropriate commit SHA).
Epic: none
Release note: none
150863: CLAUDE: use verbose output in filtered tests r=rickystewart a=dhartunian
I observed a `./dev test pkg -f=x` scenario where no test matched, and false success was declared.
Release note: None
Co-authored-by: Miles Frankel <[email protected]>
Co-authored-by: Jackson Owens <[email protected]>
Co-authored-by: David Hartunian <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/metrics/metrics.yaml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1530,6 +1530,14 @@ layers:
1530
1530
unit: NANOSECONDS
1531
1531
aggregation: AVG
1532
1532
derivative: NON_NEGATIVE_DERIVATIVE
1533
+
- name: changefeed.sink_backpressure_nanos
1534
+
exported_name: changefeed_sink_backpressure_nanos
1535
+
description: Time spent waiting for quota when emitting to the sink (back-pressure). Only populated for sinks using the batching_sink wrapper. As of writing, this includes Kafka (v2), Pub/Sub (v2), and Webhook (v2).
1536
+
y_axis_label: Nanoseconds
1537
+
type: HISTOGRAM
1538
+
unit: NANOSECONDS
1539
+
aggregation: AVG
1540
+
derivative: NONE
1533
1541
- name: changefeed.sink_batch_hist_nanos
1534
1542
exported_name: changefeed_sink_batch_hist_nanos
1535
1543
description: Time spent batched in the sink buffer before being flushed and acknowledged
0 commit comments