Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + func GrafanaDashboard() string + type Collector struct + DecodeErrors Counter + DecodeLat Histogram + DecodeTotal Counter + EncodeTotal Counter + ProtoCount map[string]*Counter + func NewCollector() *Collector + func (c *Collector) PrometheusExport() string + func (c *Collector) RecordDecode(proto string, elapsed time.Duration, err error) + type Counter struct + func (c *Counter) Add(n int64) + func (c *Counter) Inc() + func (c *Counter) Value() int64 + type Histogram struct + func (h *Histogram) Count() int + func (h *Histogram) Observe(v float64)