Documentation
¶
Overview ¶
package memory implement in-mem metrics using prometheus lib.
Index ¶
- type Reporter
- func (r *Reporter) Counter(name string, labels ...string) metric.Counter
- func (r *Reporter) Gauge(name string, labels ...string) metric.Gauge
- func (r *Reporter) Histogram(name string, buckets []float64, labels ...string) metric.Histogram
- func (r *Reporter) Named(name string) metric.Reporter
- func (r *Reporter) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (r *Reporter) Summary(name string, obj map[float64]float64, age time.Duration, labels ...string) metric.Summary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.