Documentation ¶
Index ¶
- Constants
- func StartMetricsServer(addr, path string) error
- type Counter
- type Gauge
- type Histogram
- type Summary
- func MustSummaryWithLabelNames(name string, objectives map[float64]float64, labelNames ...string) *Summary
- func MustSummay(name string, objectives map[float64]float64) *Summary
- func NewSummary(name string, objectives map[float64]float64) (*Summary, error)
- func NewSummaryWithLabelNames(name string, objectives map[float64]float64, labelNames ...string) (*Summary, error)
Constants ¶
View Source
const ( NameSpacePrometheus = "geekymedic" SubSystemPrometheus = "" )
Variables ¶
This section is empty.
Functions ¶
func StartMetricsServer ¶
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func MustCounter ¶
func NewCounter ¶
type Gauge ¶
type Gauge struct {
// contains filtered or unexported fields
}
func MustGagueWithLabelNames ¶
func NewGagueWithLabelNames ¶
type Histogram ¶
type Histogram struct {
// contains filtered or unexported fields
}
func MustHistogram ¶
func NewHistogram ¶
type Summary ¶
type Summary struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.