metrics: Fix container_size_bytes for EC #1318

Merged
fyrchik merged 3 commits from acid-ant/frostfs-node:bugfix/ec-fix-container-size-b into master 2024-09-04 19:51:11 +00:00
Showing only changes of commit 8319b59238 - Show all commits

View file

@ -213,6 +213,7 @@ func (s putStreamMetric) CloseAndRecv(ctx context.Context) (*object.PutResponse,
return res, err
}
func (s patchStreamMetric) Send(ctx context.Context, req *object.PatchRequest) error {
s.metrics.AddPayloadSize("Patch", len(req.GetBody().GetPatch().GetChunk()))