Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SDConfig ¶
type SDConfig struct { Host string `yaml:"host"` // TODO: add support for proxy_url TLSConfig *promauth.TLSConfig `yaml:"tls_config"` Role string `yaml:"role"` Port int `yaml:"port"` // refresh_interval is obtained from `-promscrape.dockerswarmSDCheckInterval` command-line option BasicAuth *promauth.BasicAuthConfig `yaml:"basic_auth"` BearerToken string `yaml:"bearer_token"` BearerTokenFile string `yaml:"bearer_token_file"` }
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.