diff --git a/pkg/services/object/metrics.go b/pkg/services/object/metrics.go index e53b7584f..61aed5003 100644 --- a/pkg/services/object/metrics.go +++ b/pkg/services/object/metrics.go @@ -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()))