@@ -9,37 +9,37 @@ import (
9
9
var (
10
10
snapshotSaveCount = prometheus .NewHistogramVec (prometheus.HistogramOpts {
11
11
Name : version .Program + "_etcd_snapshot_save_duration_seconds" ,
12
- Help : "Total time taken to complete the etcd snapshot process" ,
12
+ Help : "Total time in seconds taken to complete the etcd snapshot process, labeled by success/failure status. " ,
13
13
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
14
14
}, []string {"status" })
15
15
16
16
snapshotSaveLocalCount = prometheus .NewHistogramVec (prometheus.HistogramOpts {
17
17
Name : version .Program + "_etcd_snapshot_save_local_duration_seconds" ,
18
- Help : "Total time taken to save a local snapshot file" ,
18
+ Help : "Total time in seconds taken to save a local snapshot file, labeled by success/failure status. " ,
19
19
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
20
20
}, []string {"status" })
21
21
22
22
snapshotSaveS3Count = prometheus .NewHistogramVec (prometheus.HistogramOpts {
23
23
Name : version .Program + "_etcd_snapshot_save_s3_duration_seconds" ,
24
- Help : "Total time taken to upload a snapshot file to S3" ,
24
+ Help : "Total time in seconds taken to upload a snapshot file to S3, labeled by success/failure status. " ,
25
25
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
26
26
}, []string {"status" })
27
27
28
28
snapshotReconcileCount = prometheus .NewHistogramVec (prometheus.HistogramOpts {
29
29
Name : version .Program + "_etcd_snapshot_reconcile_duration_seconds" ,
30
- Help : "Total time taken to sync the list of etcd snapshots" ,
30
+ Help : "Total time in seconds taken to sync the list of etcd snapshots, labeled by success/failure status. " ,
31
31
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
32
32
}, []string {"status" })
33
33
34
34
snapshotReconcileLocalCount = prometheus .NewHistogramVec (prometheus.HistogramOpts {
35
35
Name : version .Program + "_etcd_snapshot_reconcile_local_duration_seconds" ,
36
- Help : "Total time taken to list local snapshot files" ,
36
+ Help : "Total time in seconds taken to list local snapshot files, labeled by success/failure status. " ,
37
37
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
38
38
}, []string {"status" })
39
39
40
40
snapshotReconcileS3Count = prometheus .NewHistogramVec (prometheus.HistogramOpts {
41
41
Name : version .Program + "_etcd_snapshot_reconcile_s3_duration_seconds" ,
42
- Help : "Total time taken to list S3 snapshot files" ,
42
+ Help : "Total time in seconds taken to list S3 snapshot files, labeled by success/failure status. " ,
43
43
Buckets : metrics .ExponentialBuckets (0.008 , 2 , 15 ),
44
44
}, []string {"status" })
45
45
)
0 commit comments