 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
)
    Functions ¶
This section is empty.
Types ¶
type PromServer ¶
type PromServer struct {
	// contains filtered or unexported fields
}
    func InitializePrometheus ¶
func InitializePrometheus(settings *config.MetricsSettings) *PromServer
InitializePrometheus starts the global Prometheus server, used for operational metrics and prom-encode stages if they don't override the server settings
func StartServerAsync ¶
func StartServerAsync(conn *api.PromConnectionInfo, regName string, registry prom.Gatherer) *PromServer
StartServerAsync listens for prometheus resource usage requests
func (*PromServer) Gather ¶
func (ps *PromServer) Gather() ([]*dto.MetricFamily, error)
func (*PromServer) SetRegistry ¶
func (ps *PromServer) SetRegistry(name string, registry prom.Gatherer)
 Click to show internal directories. 
   Click to hide internal directories.