Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Labels defines all available labels for this provider. Labels = map[string]string{ "cancelled": providerPrefix + "cancelled", "dc": providerPrefix + "dc", "flatrate": providerPrefix + "flatrate", "ip": providerPrefix + "ipv4", "name": providerPrefix + "name", "number": providerPrefix + "number", "product": providerPrefix + "product", "project": providerPrefix + "project", "status": providerPrefix + "status", "throttled": providerPrefix + "throttled", "traffic": providerPrefix + "traffic", } )
Functions ¶
Types ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
Discoverer implements the Prometheus discoverer interface.
func (Discoverer) Run ¶
func (d Discoverer) Run(ctx context.Context, ch chan<- []*targetgroup.Group)
Run initializes fetching the targets for service discovery.
Click to show internal directories.
Click to hide internal directories.