Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionFunc ¶
type OptionFunc func(*Prometheus)
func WithDurationBuckets ¶
func WithDurationBuckets(buckets ...float64) OptionFunc
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...OptionFunc) *Prometheus
func (*Prometheus) Handler ¶
func (m *Prometheus) Handler() http.Handler
func (*Prometheus) Middleware ¶
Click to show internal directories.
Click to hide internal directories.