 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Copyright (C) 2019-2025, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms. See the file LICENSE for licensing terms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatherer ¶
type Gatherer struct {
	// contains filtered or unexported fields
}
    Gatherer implements prometheus.Gatherer interface by gathering all metrics from the given Prometheus registry.
func NewGatherer ¶ added in v0.15.0
NewGatherer returns a Gatherer using the given registry.
type Registry ¶ added in v0.15.0
type Registry interface {
	// Call the given function for each registered metric.
	Each(func(string, any))
	// Get the metric by the given name or nil if none is registered.
	Get(string) any
}
    Registry is a narrower interface of prometheus.Registry containing only the required functions for the Gatherer.
 Click to show internal directories. 
   Click to hide internal directories.