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
{{ message }}
Repository navigation
Commit a460090
Browse filesBrowse the repository at this point in the historyBrowse files
Ruler, Alertmanager: return 499 when the client cancels a list-all request (#7986)
ListAllRules and ListAllConfigs logged an error and answered 500 whenever
listing the tenants failed, including when the cause was the client
canceling the request. A cancellation while streaming the per-tenant
results was logged as an error as well. Client cancellations polluted the
5xx SLO and the error logs.
Map context.Canceled from ListAllUsers to 499 (Client Closed Request) and
stop logging cancellations, the same way the distributor push path does
since #7717.
Signed-off-by: Sungjin1212 <tjdwls1201@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@
44
44
*[BUGFIX] Compactor: Stop downloading the parquet files and the `parquet-converter-mark.json` and `parquet-no-convert-mark.json` markers written by the parquet converter under a block's prefix. Compaction never reads them, so they only used local disk and bandwidth until the compaction job ended. #7972
45
45
*[BUGFIX] Ring: Fix shuffle-sharding subrings treating instances with a stale heartbeat as healthy when using the DynamoDB KV store. #7976
46
46
*[BUGFIX] Ingester Client: Fix a gRPC connection leak when `-distributor.use-stream-push` is enabled and the push streams to an ingester cannot be opened. #7969
47
+
*[BUGFIX] Ruler, Alertmanager: Return HTTP 499 (Client Closed Request) instead of 500 when a `GET /ruler/rule_groups` or `GET /multitenant_alertmanager/configs` request is canceled by the client, so client-side cancellations are no longer counted or logged as server-side errors. #7986
0 commit comments