Files
seaweedfs/weed/stats
Chris LuandClaude Opus 5.5 1e4739f97a s3api: count object reads that fail after the status line is sent (#13073)
* s3api: count object reads that fail after the status line is sent

A GET whose body breaks after the 200/206 was committed is recorded by
SeaweedFS_s3_request_total as a success and only shows up in the log.
SeaweedFS_s3_read_aborted_total{bucket,cause} counts these reads on the
volume-server, SSE and remote-mount stream paths, split into
client_canceled, deadline_exceeded and read_error, and is dropped with
the other per-bucket series when a bucket is deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* grafana: plot aborted S3 reads by bucket and cause

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* s3api: count aborted reads of inline objects and directory content

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* s3api: count gRPC deadline failures as deadline_exceeded aborted reads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* s3api: count an aborted read as client_canceled only when its request was canceled

A context.Canceled error under a live request context comes from an
internal cancellation, such as a shared lookup canceled by another
request, so it is recorded as read_error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:44:12 -08:00
..
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00