aboutsummaryrefslogtreecommitdiff
path: root/weed/stats/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/stats/metrics.go')
-rw-r--r--weed/stats/metrics.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go
index f741aee10..76e3afbdf 100644
--- a/weed/stats/metrics.go
+++ b/weed/stats/metrics.go
@@ -479,6 +479,10 @@ func bucketMetricTTLControl() {
c := S3RequestCounter.DeletePartialMatch(labels)
c += S3RequestHistogram.DeletePartialMatch(labels)
c += S3TimeToFirstByteHistogram.DeletePartialMatch(labels)
+ c += S3BucketTrafficReceivedBytesCounter.DeletePartialMatch(labels)
+ c += S3BucketTrafficSentBytesCounter.DeletePartialMatch(labels)
+ c += S3DeletedObjectsCounter.DeletePartialMatch(labels)
+ c += S3UploadedObjectsCounter.DeletePartialMatch(labels)
glog.V(0).Infof("delete inactive bucket metrics, %s: %d", bucket, c)
}
}