Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SDCheckInterval = flag.Duration("promscrape.dockerswarmSDCheckInterval", 30*time.Second, "Interval for checking for changes in dockerswarm. "+
"This works only if dockerswarm_sd_configs is configured in '-promscrape.config' file. "+
"See https://docs.victoriametrics.com/sd_configs/#dockerswarm_sd_configs for details")
SDCheckInterval defines interval for dockerswarm targets refresh.
Functions ¶
This section is empty.
Types ¶
type SDConfig ¶
type SDConfig struct { Host string `yaml:"host"` Role string `yaml:"role"` Port int `yaml:"port,omitempty"` Filters []Filter `yaml:"filters,omitempty"` HTTPClientConfig promauth.HTTPClientConfig `yaml:",inline"` ProxyURL *proxy.URL `yaml:"proxy_url,omitempty"` ProxyClientConfig promauth.ProxyClientConfig `yaml:",inline"` }
SDConfig represents docker swarm service discovery configuration
See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dockerswarm_sd_config
Click to show internal directories.
Click to hide internal directories.