Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` ProxyURL proxy.URL `yaml:"proxy_url,omitempty"` TLSConfig *promauth.TLSConfig `yaml:"tls_config,omitempty"` // refresh_interval is obtained from `-promscrape.dockerswarmSDCheckInterval` command-line option BasicAuth *promauth.BasicAuthConfig `yaml:"basic_auth,omitempty"` BearerToken string `yaml:"bearer_token,omitempty"` BearerTokenFile string `yaml:"bearer_token_file,omitempty"` }
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.