-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
103729: log: add headers, compression config to http servers r=healthy-pod a=dhartunian This commit adds support for custom headers and gzip compression on requests made to `http-server` outputs in CRDB's logging configuration. Custom headers enable the inclusion of API keys for 3rd party sinks and gzip compression reduces network resource consumption. Resolves #103477 Release note (ops change): `http-defaults` and `http-servers` sections of the log config will now accept a `headers` field containing a map of key value string pairs which will comprise custom HTTP headers appended to every request. Additionally a `compression` value is support which can be set to `gzip` or `none` to select a compression method for the HTTP requesst body. By default `gzip` is selected. This is a change from previous functionality that did not compress by default. 103963: kvclient: add x-region, x-zone metrics to DistSender r=healthy-pod a=wenyihu6 Previously, there were no metrics to observe cross-region, cross-zone traffic in batch requests / responses at DistSender. To improve this issue, this commit introduces six new distsender metrics - ``` "distsender.batch_requests.replica_addressed.bytes" "distsender.batch_responses.replica_addressed.bytes" "distsender.batch_requests.cross_region.bytes" "distsender.batch_responses.cross_region.bytes" "distsender.batch_requests.cross_zone.bytes" "distsender.batch_responses.cross_zone.bytes" ``` The first two metrics track the total byte count of batch requests processed and batch responses received at DistSender. Additionally, there are four metrics to track the aggregate counts processed and received across different regions and zones. Note that these metrics only track the sender node and not the receiver node as DistSender resides on the gateway node receiving SQL queries. Part of: #103983 Release note (ops change): Six new metrics - "distsender.batch_requests.replica_addressed.bytes", "distsender.batch_responses.replica_addressed.bytes", "distsender.batch_requests.cross_region.bytes", "distsender.batch_responses.cross_region.bytes", "distsender.batch_requests.cross_zone.bytes", "distsender.batch_responses.cross_zone.bytes"- are now added to DistSender metrics. For accurate metrics, follow these assumptions: - Configure region and zone tier keys consistently across nodes. - Within a node locality, ensure unique region and zone tier keys. - Maintain consistent configuration of region and zone tiers across nodes. 104088: metrics: fix windowed histogram merging approach r=ericharmeling a=ericharmeling Fixes #103814. Fixes #98266. This commit updates the windowed histogram merging approach to add the previous window's histogram bucket counts and sample count to those of the current one. As a result of this change, the histograms will no longer report under-sampled quantile values, and timeseries metrics-derived charts (e.g., the quantile-based SQL service latency charts on the DB console's Metrics page) will more accurately display metrics. Release note (bug fix): Updated the histogram window merge calculation to more accurately interpolate quantile values. This change will result in smoother, more accurate Metrics charts on the DB Console. 104376: sql: CREATEROLE now includes ability to grant non-admin roles r=rafiss a=rafiss fixes #104371 This matches the PostgreSQL behavior. Release note (security update): Users who have the CREATEROLE role option can now grant and revoke role membership in any non-admin role. This change also removes the sql.auth.createrole_allows_grant_role_membership.enabled cluster setting, which was added in v23.1. Now, the cluster setting is effectively always true. 104802: kvserver: prevent split at invalid tenant prefix keys r=arulajmani a=tbg Closes #104796. Epic: None Release note (bug fix): prevents invalid splits that can crash (and prevent restarts) of nodes that hold a replica for the right-hand side. Co-authored-by: David Hartunian <[email protected]> Co-authored-by: Wenyi <[email protected]> Co-authored-by: Eric Harmeling <[email protected]> Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: Tobias Grieger <[email protected]>
- Loading branch information
Showing
25 changed files
with
1,142 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.