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
152818: tracing, rpc: add support for tracing interceptors in dRPC r=Nukitt a=Nukitt
This change brings the support for client and server tracing
interceptors in dRPC that start spans, propagate metadata
and record error codes for unary and streaming RPCs.
Epic: CRDB-49359Fixes: #148350 and #144372
Release note: None
153519: util: introduce LabelSliceCache in metric r=aa-joshi a=aa-joshi
Previously, we were persisting label value slice at each child metrics of
aggregated metric type. This was inadequate because it will create redundant
memory allocations for same label value slice across difference metrics. To
address this, this patch introduces `LabelSliceCache` which would persist the
label values at registry level and metrics would reference them through the
key. The LabelSliceCache is referenced in metrics through `PrometheusEvictable`
interface. The LabelSliceCache contains 2 critical methods:
1. Upsert: This method implements the add reference part of the
reference counting mechanism. This method increments the reference count for
label values by 1, if already exists. Otherwise, It will create a new entry for
the label values with default value as 1.
2. DecrementAndDeleteIfZero: This method decrements the reference
counter for the given label values by 1. If the count is reached to zero then
it means that no metrics are relying on the particular label values. In that
case, it deletes the entry from cache.
These methods ensure that the cache tracks how many metrics are currently using
each label combination, enabling proper cleanup when metrics are no longer
needed.
Epic: CRDB-53398
Part of: CRDB-53830
Release note: None
153698: *: drop `TODODRPC` override in favor of cluster setting r=cthumuluru-crdb a=cthumuluru-crdb
Currently, at many call sites, we disable DRPC using TODODRPC override. This change drops `TODODRPC` override and ensure DRPC is controlled exclusively through the `rpc.experimental_drpc.enabled` cluster setting.
Epic: CRDB-48935
Informs: None
Release note: None
Co-authored-by: Nukitt <[email protected]>
Co-authored-by: Akshay Joshi <[email protected]>
Co-authored-by: Chandra Thumuluru <[email protected]>
0 commit comments