Documentation ¶
Index ¶
Constants ¶
View Source
const (
PromNamespace = "file_d"
)
Variables ¶
View Source
var ( SecondsBucketsDetailedNano = prometheus.ExponentialBuckets(0.000005, 2, 19) // covers range from 5ns to 1.3ms SecondsBucketsDetailed = prometheus.ExponentialBuckets(0.0005, 2, 16) // covers range from 500us to 16.384s SecondsBucketsLong = prometheus.ExponentialBuckets(0.005, 2, 16) // covers range from 5ms to 163.84s )
Functions ¶
This section is empty.
Types ¶
type Ctl ¶ added in v0.7.0
type Ctl struct {
// contains filtered or unexported fields
}
func (*Ctl) RegisterCounter ¶ added in v0.7.0
func (mc *Ctl) RegisterCounter(name, help string, labels ...string) *prometheus.CounterVec
func (*Ctl) RegisterGauge ¶ added in v0.7.0
func (mc *Ctl) RegisterGauge(name, help string, labels ...string) *prometheus.GaugeVec
func (*Ctl) RegisterHistogram ¶ added in v0.9.3
func (mc *Ctl) RegisterHistogram(name, help string, buckets []float64, labels ...string) *prometheus.HistogramVec
Click to show internal directories.
Click to hide internal directories.