Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2026 Changes in this version + const MetricsContentType + func GoRuntime(w *Writer) + func Handler(o Options) http.Handler + type Collector func(*Writer) + func BuildInfo(prefix string) Collector + type Label struct + Name string + Value string + func L(name, value string) Label + type Options struct + Collectors []Collector + Ready func() error + type Sample struct + Labels []Label + Value float64 + func S(v float64, labels ...Label) Sample + type Writer struct + func (w *Writer) Counter(name, help string, samples ...Sample) + func (w *Writer) Err() error + func (w *Writer) Gauge(name, help string, samples ...Sample) + func (w *Writer) WriteTo(dst io.Writer) (int64, error)