mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-25 00:26:29 +00:00
lower bucket size
This commit is contained in:
@@ -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
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -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
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user