Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Labels defines all available labels for this provider. Labels = map[string]string{ "datacenterName": providerPrefix + "datacenter", "imageName": providerPrefix + "image_name", "imageType": providerPrefix + "image_type", "labelPrefix": providerPrefix + "label_", "locationCity": providerPrefix + "city", "locationCountry": providerPrefix + "country", "locationName": providerPrefix + "location", "name": providerPrefix + "name", "osFlavor": providerPrefix + "os_flavor", "osVersion": providerPrefix + "os_version", "project": providerPrefix + "project", "privateIPv4": providerPrefix + "ipv4_", "publicIPv4": providerPrefix + "public_ipv4", "publicIPv6": providerPrefix + "public_ipv6", "serverTypeCores": providerPrefix + "cores", "serverTypeCPU": providerPrefix + "cpu", "serverTypeDisk": providerPrefix + "disk", "serverTypeMemory": providerPrefix + "memory", "serverTypeName": providerPrefix + "type", "serverTypeStorage": providerPrefix + "storage", "status": providerPrefix + "status", } )
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.