Merge pull request #89151 from jingyih/add_metric_etcd_db_size

apiserver: add a metric exposing etcd database size
This commit is contained in:
Kubernetes Prow Robot
2020-03-31 12:37:00 -07:00
committed by GitHub
6 changed files with 93 additions and 19 deletions

View File

@@ -159,6 +159,7 @@ func TestAddFlags(t *testing.T) {
Prefix: "/registry",
CompactionInterval: storagebackend.DefaultCompactInterval,
CountMetricPollPeriod: time.Minute,
DBMetricPollInterval: storagebackend.DefaultDBMetricPollInterval,
},
DefaultStorageMediaType: "application/vnd.kubernetes.protobuf",
DeleteCollectionWorkers: 1,