mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
29 lines
905 B
Go
29 lines
905 B
Go
package filesystem
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
var (
|
|
blobBuckets = []float64{3, 5, 7, 9, 11, 13}
|
|
blobSaveLatency = promauto.NewHistogram(prometheus.HistogramOpts{
|
|
Name: "blob_storage_save_latency",
|
|
Help: "Latency of BlobSidecar storage save operations in milliseconds",
|
|
Buckets: blobBuckets,
|
|
})
|
|
blobFetchLatency = promauto.NewHistogram(prometheus.HistogramOpts{
|
|
Name: "blob_storage_get_latency",
|
|
Help: "Latency of BlobSidecar storage get operations in milliseconds",
|
|
Buckets: blobBuckets,
|
|
})
|
|
blobsPrunedCounter = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "blob_pruned",
|
|
Help: "Number of BlobSidecar files pruned.",
|
|
})
|
|
blobsWrittenCounter = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "blobs_written",
|
|
Help: "Number of BlobSidecar files written.",
|
|
})
|
|
)
|