Versions in this module Expand all Collapse all v0 v0.1.0 Jun 12, 2026 Changes in this version + type Cap struct + func Wrap(reg prometheus.Registerer) *Cap + func (c *Cap) NewCounterVec(opts prometheus.CounterOpts, labels []string, capOpts CapOpts) *CappedCounterVec + func (c *Cap) NewGaugeVec(opts prometheus.GaugeOpts, labels []string, capOpts CapOpts) *CappedGaugeVec + func (c *Cap) NewHistogramVec(opts prometheus.HistogramOpts, labels []string, capOpts CapOpts) *CappedHistogramVec + func (c *Cap) NewSummaryVec(opts prometheus.SummaryOpts, labels []string, capOpts CapOpts) *CappedSummaryVec + type CapOpts struct + Allow map[string][]string + Evict bool + MaxSeries int + type CappedCounterVec struct + func (ccv *CappedCounterVec) Collect(ch chan<- prometheus.Metric) + func (ccv *CappedCounterVec) Describe(ch chan<- *prometheus.Desc) + func (ccv *CappedCounterVec) GetMetricWith(labels prometheus.Labels) (prometheus.Counter, error) + func (ccv *CappedCounterVec) GetMetricWithLabelValues(lvs ...string) (prometheus.Counter, error) + func (ccv *CappedCounterVec) Reset() + func (ccv *CappedCounterVec) With(labels prometheus.Labels) prometheus.Counter + func (ccv *CappedCounterVec) WithLabelValues(lvs ...string) prometheus.Counter + type CappedGaugeVec struct + func (cgv *CappedGaugeVec) Collect(ch chan<- prometheus.Metric) + func (cgv *CappedGaugeVec) Describe(ch chan<- *prometheus.Desc) + func (cgv *CappedGaugeVec) GetMetricWith(labels prometheus.Labels) (prometheus.Gauge, error) + func (cgv *CappedGaugeVec) GetMetricWithLabelValues(lvs ...string) (prometheus.Gauge, error) + func (cgv *CappedGaugeVec) Reset() + func (cgv *CappedGaugeVec) With(labels prometheus.Labels) prometheus.Gauge + func (cgv *CappedGaugeVec) WithLabelValues(lvs ...string) prometheus.Gauge + type CappedHistogramVec struct + func (hgv *CappedHistogramVec) Collect(ch chan<- prometheus.Metric) + func (hgv *CappedHistogramVec) Describe(ch chan<- *prometheus.Desc) + func (hgv *CappedHistogramVec) GetMetricWith(labels prometheus.Labels) (prometheus.Observer, error) + func (hgv *CappedHistogramVec) GetMetricWithLabelValues(lvs ...string) (prometheus.Observer, error) + func (hgv *CappedHistogramVec) Reset() + func (hgv *CappedHistogramVec) With(labels prometheus.Labels) prometheus.Observer + func (hgv *CappedHistogramVec) WithLabelValues(lvs ...string) prometheus.Observer + type CappedSummaryVec struct + func (sumv *CappedSummaryVec) Collect(ch chan<- prometheus.Metric) + func (sumv *CappedSummaryVec) Describe(ch chan<- *prometheus.Desc) + func (sumv *CappedSummaryVec) GetMetricWith(labels prometheus.Labels) (prometheus.Observer, error) + func (sumv *CappedSummaryVec) GetMetricWithLabelValues(lvs ...string) (prometheus.Observer, error) + func (sumv *CappedSummaryVec) Reset() + func (sumv *CappedSummaryVec) With(labels prometheus.Labels) prometheus.Observer + func (sumv *CappedSummaryVec) WithLabelValues(lvs ...string) prometheus.Observer