Versions in this module Expand all Collapse all v2 v2.30.1 Jul 6, 2021 Changes in this version + var DefaultSDConfig = SDConfig + func NewDiscovery(conf *SDConfig, l log.Logger) (*refresh.Discovery, error) + type HypervisorDiscovery struct + type InstanceDiscovery struct + type Role string + const OpenStackRoleHypervisor + const OpenStackRoleInstance + func (c *Role) UnmarshalYAML(unmarshal func(interface{}) error) error + type SDConfig struct + AllTenants bool + ApplicationCredentialID string + ApplicationCredentialName string + ApplicationCredentialSecret config.Secret + Availability string + DomainID string + DomainName string + IdentityEndpoint string + Password config.Secret + Port int + ProjectID string + ProjectName string + RefreshInterval model.Duration + Region string + Role Role + TLSConfig config.TLSConfig + UserID string + Username string + func (*SDConfig) Name() string + func (c *SDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *SDConfig) SetDirectory(dir string) + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error Other modules containing this package github.com/wangjc0216/prometheus