Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistogramOpts ¶
type HistogramOpts struct {
MetricsOpts
Buckets []float64 `json:"buckets"`
}
type HistogramVecOpts ¶
type HistogramVecOpts struct {
prometheus.HistogramOpts
Lables []string `json:"labels"`
}
type MetricsOpts ¶
type MetricsVecOpts ¶
type MetricsVecOpts struct {
prometheus.Opts
Lables []string `json:"labels"`
}
type SummaryOpts ¶
type SummaryOpts struct {
MetricsOpts
Objectives map[string]float64 `json:"objectives"`
MaxAge time.Duration `json:"maxAge"`
AgeBuckets uint32 `json:"ageBuckets"`
BufCap uint32 `json:"bufCap"`
}
func (SummaryOpts) Adapter ¶
func (opt SummaryOpts) Adapter() prometheus.SummaryOpts
type SummaryVecOpts ¶
type SummaryVecOpts struct {
SummaryOpts
Lables []string `json:"labels"`
}
Click to show internal directories.
Click to hide internal directories.