Versions in this module Expand all Collapse all v1 v1.12.2 Mar 3, 2025 Changes in this version + func MakeAndRegister(gatherer MultiGatherer, name string) (*prometheus.Registry, error) + type Client struct + func NewClient(uri string) *Client + func (c *Client) GetMetrics(ctx context.Context) (map[string]*dto.MetricFamily, error) + type MultiGatherer interface + Deregister func(name string) bool + Register func(name string, gatherer prometheus.Gatherer) error + func NewLabelGatherer(labelName string) MultiGatherer + func NewPrefixGatherer() MultiGatherer