lower bucket size

This commit is contained in:
William Banfield
2022-11-28 14:27:45 -05:00
parent a35140c4bd
commit 9b2800ffcd
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics {
Name: "store_access_duration_seconds",
Help: "The duration of accesses to the state store labeled by which method was called on the store.",
Buckets: stdprometheus.ExponentialBuckets(0.01, 2, 5),
Buckets: stdprometheus.ExponentialBuckets(0.00002, 5, 5),
}, append(labels, "method")).With(labelsAndValues...),
}
}
+1 -1
View File
@@ -27,5 +27,5 @@ type Metrics struct {
// The duration of accesses to the state store labeled by which method
// was called on the store.
StoreAccessDurationSeconds metrics.Histogram `metrics_buckettype:"exp" metrics_bucketsizes:"0.01, 2, 5" metrics_labels:"method"`
StoreAccessDurationSeconds metrics.Histogram `metrics_buckettype:"exp" metrics_bucketsizes:"0.00002, 5, 5" metrics_labels:"method"`
}
+1 -1
View File
@@ -20,7 +20,7 @@ func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics {
Name: "block_store_access_duration_seconds",
Help: "The duration of accesses to the state store labeled by which method was called on the store.",
Buckets: stdprometheus.ExponentialBuckets(0.01, 2, 5),
Buckets: stdprometheus.ExponentialBuckets(0.00002, 5, 5),
}, append(labels, "method")).With(labelsAndValues...),
}
}
+1 -1
View File
@@ -16,5 +16,5 @@ const (
type Metrics struct {
// The duration of accesses to the state store labeled by which method
// was called on the store.
BlockStoreAccessDurationSeconds metrics.Histogram `metrics_buckettype:"exp" metrics_bucketsizes:"0.01, 2, 5" metrics_labels:"method"`
BlockStoreAccessDurationSeconds metrics.Histogram `metrics_buckettype:"exp" metrics_bucketsizes:"0.00002, 5, 5" metrics_labels:"method"`
}