Versions in this module Expand all Collapse all v0 v0.5.0 Jun 15, 2022 Changes in this version + func NewGCEDiscoveryPool(ctx context.Context, size int) (chan *GCEReqInstanceDiscovery, error) + type GCEDiscovery struct + func NewGCEDiscovery() (*GCEDiscovery, error) + func (d *GCEDiscovery) Instances(ctx context.Context, project, filter string) ([]*PromConfig, error) + type GCEReqInstanceDiscovery struct + Errors chan error + Filter string + Project string + PrometheusConfigs chan []*PromConfig + type GCPProjectDiscovery struct + func NewGCPProjectDiscovery() (*GCPProjectDiscovery, error) + func (d *GCPProjectDiscovery) Projects(ctx context.Context) (projects []string, err error) + type PromConfig struct + Labels pmodel.LabelSet + Targets []string v0.4.0 Apr 4, 2021