Versions in this module Expand all Collapse all v0 v0.54.2 Jan 28, 2025 Changes in this version + var DefaultDockerSDConfig = DockerSDConfig + var DefaultDockerSwarmSDConfig = DockerSwarmSDConfig + type Discovery struct + func NewDiscovery(conf *DockerSwarmSDConfig, logger log.Logger, ...) (*Discovery, error) + type DockerDiscovery struct + func NewDockerDiscovery(conf *DockerSDConfig, logger log.Logger, metrics discovery.DiscovererMetrics) (*DockerDiscovery, error) + type DockerSDConfig struct + Filters []Filter + HTTPClientConfig config.HTTPClientConfig + Host string + HostNetworkingHost string + MatchFirstNetwork bool + Port int + RefreshInterval model.Duration + func (*DockerSDConfig) Name() string + func (*DockerSDConfig) NewDiscovererMetrics(_ prometheus.Registerer, rmi discovery.RefreshMetricsInstantiator) discovery.DiscovererMetrics + func (c *DockerSDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *DockerSDConfig) SetDirectory(dir string) + func (c *DockerSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type DockerSwarmSDConfig struct + Filters []Filter + HTTPClientConfig config.HTTPClientConfig + Host string + Port int + RefreshInterval model.Duration + Role string + func (*DockerSwarmSDConfig) Name() string + func (*DockerSwarmSDConfig) NewDiscovererMetrics(reg prometheus.Registerer, rmi discovery.RefreshMetricsInstantiator) discovery.DiscovererMetrics + func (c *DockerSwarmSDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *DockerSwarmSDConfig) SetDirectory(dir string) + func (c *DockerSwarmSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Filter struct + Name string + Values []string v0.54.1-promotel-v1.0.0 Jan 28, 2025