Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultObjectives = map[float64]float64{
0.5: 0.05,
0.9: 0.01,
0.95: 0.005,
0.99: 0.001,
}
)
View Source
var (
DefaultRegistry = NewRegistry()
)
Functions ¶
func GetOrRegister ¶
func Milliseconds ¶
Types ¶
type Metric ¶
type Metric interface { prometheus.Collector }
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) GetOrRegister ¶
func (*Registry) MetricsDescriptionHandler ¶
func (*Registry) MetricsHandler ¶
Click to show internal directories.
Click to hide internal directories.