Versions in this module Expand all Collapse all v1 v1.6.3 Jan 15, 2024 Changes in this version + var DefaultScrapeConfig = Config + type Config struct + GcplogConfig *GcplogTargetConfig + JobName string + JournalConfig *JournalTargetConfig + PipelineStages stages.PipelineStages + PushConfig *PushTargetConfig + RelabelConfigs []*relabel.Config + ServiceDiscoveryConfig ServiceDiscoveryConfig + SyslogConfig *SyslogTargetConfig + WindowsConfig *WindowsEventsTargetConfig + func (c *Config) HasServiceDiscoveryConfig() bool + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type GcplogTargetConfig struct + Labels model.LabelSet + ProjectID string + Subscription string + UseIncomingTimestamp bool + type JournalTargetConfig struct + JSON bool + Labels model.LabelSet + MaxAge string + Path string + type PushTargetConfig struct + KeepTimestamp bool + Labels model.LabelSet + Server server.Config + type ServiceDiscoveryConfig struct + AzureSDConfigs []*azure.SDConfig + ConsulSDConfigs []*consul.SDConfig + DNSSDConfigs []*dns.SDConfig + DigitalOceanSDConfigs []*digitalocean.SDConfig + DockerSwarmSDConfigs []*dockerswarm.SDConfig + EC2SDConfigs []*ec2.SDConfig + FileSDConfigs []*file.SDConfig + GCESDConfigs []*gce.SDConfig + KubernetesSDConfigs []*kubernetes.SDConfig + MarathonSDConfigs []*marathon.SDConfig + NerveSDConfigs []*zookeeper.NerveSDConfig + OpenstackSDConfigs []*openstack.SDConfig + ServersetSDConfigs []*zookeeper.ServersetSDConfig + StaticConfigs discovery.StaticConfig + TritonSDConfigs []*triton.SDConfig + func (cfg ServiceDiscoveryConfig) Configs() (res discovery.Configs) + type SyslogTargetConfig struct + IdleTimeout time.Duration + LabelStructuredData bool + Labels model.LabelSet + ListenAddress string + MaxMessageLength int + UseIncomingTimestamp bool + type WindowsEventsTargetConfig struct + BookmarkPath string + EventlogName string + ExcludeEventData bool + ExcludeUserData bool + Labels model.LabelSet + Locale uint32 + PollInterval time.Duration + Query string + UseIncomingTimestamp bool