Versions in this module Expand all Collapse all v4 v4.4.0 Oct 5, 2021 v4.3.0 Apr 8, 2021 Changes in this version + func NewRegistry() *prometheus.Registry + type Generator struct + func NewGenerator() Generator + func (g *Generator) IncrementCacheHits() + func (g *Generator) IncrementCacheMisses() + func (g *Generator) ObserveGenerationDuration(d time.Duration) + func (g *Generator) Register(reg prometheus.Registerer) error