1package carstore
2
3import (
4 "github.com/prometheus/client_golang/prometheus"
5 "github.com/prometheus/client_golang/prometheus/promauto"
6)
7
8var writeShardFileDuration = promauto.NewHistogram(prometheus.HistogramOpts{
9 Name: "carstore_write_shard_file_duration",
10 Help: "Duration of writing shard file to disk",
11 Buckets: prometheus.ExponentialBuckets(0.001, 2, 15),
12})
13
14var writeShardMetadataDuration = promauto.NewHistogram(prometheus.HistogramOpts{
15 Name: "carstore_write_shard_metadata_duration",
16 Help: "Duration of writing shard metadata to DB",
17 Buckets: prometheus.ExponentialBuckets(0.001, 2, 15),
18})