Versions in this module Expand all Collapse all v1 v1.0.1 Jul 21, 2016 v1.0.0 Jul 18, 2016 Changes in this version + const KubernetesRoleAPIServer + const KubernetesRoleContainer + const KubernetesRoleEndpoint + const KubernetesRoleNode + const KubernetesRolePod + const KubernetesRoleService + var DefaultAzureSDConfig = AzureSDConfig + var DefaultConfig = Config + var DefaultConsulSDConfig = ConsulSDConfig + var DefaultDNSSDConfig = DNSSDConfig + var DefaultEC2SDConfig = EC2SDConfig + var DefaultFileSDConfig = FileSDConfig + var DefaultGlobalConfig = GlobalConfig + var DefaultKubernetesSDConfig = KubernetesSDConfig + var DefaultMarathonSDConfig = MarathonSDConfig + var DefaultNerveSDConfig = NerveSDConfig + var DefaultRelabelConfig = RelabelConfig + var DefaultScrapeConfig = ScrapeConfig + var DefaultServersetSDConfig = ServersetSDConfig + func CheckTargetAddress(address model.LabelValue) error + type AzureSDConfig struct + ClientID string + ClientSecret string + Port int + RefreshInterval model.Duration + SubscriptionID string + TenantID string + XXX map[string]interface{} + func (c *AzureSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type BasicAuth struct + Password string + Username string + XXX map[string]interface{} + func (a *BasicAuth) UnmarshalYAML(unmarshal func(interface{}) error) error + type ClientCert struct + Cert string + Key string + XXX map[string]interface{} + type Config struct + GlobalConfig GlobalConfig + RuleFiles []string + ScrapeConfigs []*ScrapeConfig + XXX map[string]interface{} + func Load(s string) (*Config, error) + func LoadFile(filename string) (*Config, error) + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c Config) String() string + type ConsulSDConfig struct + Datacenter string + Password string + Scheme string + Server string + Services []string + TagSeparator string + Token string + Username string + XXX map[string]interface{} + func (c *ConsulSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type DNSSDConfig struct + Names []string + Port int + RefreshInterval model.Duration + Type string + XXX map[string]interface{} + func (c *DNSSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type EC2SDConfig struct + AccessKey string + Port int + RefreshInterval model.Duration + Region string + SecretKey string + XXX map[string]interface{} + func (c *EC2SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type FileSDConfig struct + Files []string + RefreshInterval model.Duration + XXX map[string]interface{} + func (c *FileSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type GlobalConfig struct + EvaluationInterval model.Duration + ExternalLabels model.LabelSet + ScrapeInterval model.Duration + ScrapeTimeout model.Duration + XXX map[string]interface{} + func (c *GlobalConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type KubernetesRole string + func (c *KubernetesRole) UnmarshalYAML(unmarshal func(interface{}) error) error + type KubernetesSDConfig struct + APIServers []URL + BasicAuth *BasicAuth + BearerToken string + BearerTokenFile string + InCluster bool + RequestTimeout model.Duration + RetryInterval model.Duration + Role KubernetesRole + TLSConfig TLSConfig + XXX map[string]interface{} + func (c *KubernetesSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type MarathonSDConfig struct + RefreshInterval model.Duration + Servers []string + XXX map[string]interface{} + func (c *MarathonSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type NerveSDConfig struct + Paths []string + Servers []string + Timeout model.Duration + XXX map[string]interface{} + func (c *NerveSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Regexp struct + func MustNewRegexp(s string) Regexp + func NewRegexp(s string) (Regexp, error) + func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error + func (re Regexp) MarshalYAML() (interface{}, error) + type RelabelAction string + const RelabelDrop + const RelabelHashMod + const RelabelKeep + const RelabelLabelMap + const RelabelReplace + func (a *RelabelAction) UnmarshalYAML(unmarshal func(interface{}) error) error + type RelabelConfig struct + Action RelabelAction + Modulus uint64 + Regex Regexp + Replacement string + Separator string + SourceLabels model.LabelNames + TargetLabel model.LabelName + XXX map[string]interface{} + func (c *RelabelConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type ScrapeConfig struct + AzureSDConfigs []*AzureSDConfig + BasicAuth *BasicAuth + BearerToken string + BearerTokenFile string + ConsulSDConfigs []*ConsulSDConfig + DNSSDConfigs []*DNSSDConfig + EC2SDConfigs []*EC2SDConfig + FileSDConfigs []*FileSDConfig + HonorLabels bool + JobName string + KubernetesSDConfigs []*KubernetesSDConfig + MarathonSDConfigs []*MarathonSDConfig + MetricRelabelConfigs []*RelabelConfig + MetricsPath string + NerveSDConfigs []*NerveSDConfig + Params url.Values + ProxyURL URL + RelabelConfigs []*RelabelConfig + Scheme string + ScrapeInterval model.Duration + ScrapeTimeout model.Duration + ServersetSDConfigs []*ServersetSDConfig + StaticConfigs []*TargetGroup + TLSConfig TLSConfig + XXX map[string]interface{} + func (c *ScrapeConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type ServersetSDConfig struct + Paths []string + Servers []string + Timeout model.Duration + XXX map[string]interface{} + func (c *ServersetSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type TLSConfig struct + CAFile string + CertFile string + InsecureSkipVerify bool + KeyFile string + ServerName string + XXX map[string]interface{} + func (c *TLSConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type TargetGroup struct + Labels model.LabelSet + Source string + Targets []model.LabelSet + func (tg *TargetGroup) UnmarshalJSON(b []byte) error + func (tg *TargetGroup) UnmarshalYAML(unmarshal func(interface{}) error) error + func (tg TargetGroup) MarshalYAML() (interface{}, error) + func (tg TargetGroup) String() string + type URL struct + func (u *URL) UnmarshalYAML(unmarshal func(interface{}) error) error + func (u URL) MarshalYAML() (interface{}, error) v1.0.0-rc.0 Jul 14, 2016