Versions in this module Expand all Collapse all v2 v2.0.0 Jun 14, 2023 Changes in this version + const KafkaAuthenticationTypeNone + const KafkaAuthenticationTypeSASL + const KafkaAuthenticationTypeSSL + var DefaultScrapeConfig = Config + type AzureEventHubsTargetConfig struct + ConnectionString string + DisallowCustomMessages bool + EventHubs []string + FullyQualifiedNamespace string + GroupID string + Labels model.LabelSet + UseIncomingTimestamp bool + type CloudflareConfig struct + APIToken string + FieldsType string + Labels model.LabelSet + PullRange model.Duration + Workers int + ZoneID string + type Config struct + AzureEventHubsConfig *AzureEventHubsTargetConfig + CloudflareConfig *CloudflareConfig + DecompressionCfg *DecompressionConfig + DockerSDConfigs []*moby.DockerSDConfig + Encoding string + GcplogConfig *GcplogTargetConfig + GelfConfig *GelfTargetConfig + HerokuDrainConfig *HerokuDrainTargetConfig + JobName string + JournalConfig *JournalTargetConfig + KafkaConfig *KafkaTargetConfig + 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 DecompressionConfig struct + Enabled bool + Format string + InitialDelay time.Duration + type GcplogTargetConfig struct + Labels model.LabelSet + ProjectID string + PushTimeout time.Duration + Server server.Config + Subscription string + SubscriptionType string + UseFullLine bool + UseIncomingTimestamp bool + type GelfTargetConfig struct + Labels model.LabelSet + ListenAddress string + UseIncomingTimestamp bool + type HerokuDrainTargetConfig struct + Labels model.LabelSet + Server server.Config + UseIncomingTimestamp bool + type JournalTargetConfig struct + JSON bool + Labels model.LabelSet + Matches string + MaxAge string + Path string + type KafkaAuthentication struct + SASLConfig KafkaSASLConfig + TLSConfig promconfig.TLSConfig + Type KafkaAuthenticationType + type KafkaAuthenticationType string + type KafkaSASLConfig struct + Mechanism sarama.SASLMechanism + Password flagext.Secret + TLSConfig promconfig.TLSConfig + UseTLS bool + User string + type KafkaTargetConfig struct + Assignor string + Authentication KafkaAuthentication + Brokers []string + GroupID string + Labels model.LabelSet + Topics []string + UseIncomingTimestamp bool + Version string + type PushTargetConfig struct + KeepTimestamp bool + Labels model.LabelSet + Server server.Config + type ServiceDiscoveryConfig struct + AzureSDConfigs []*azure.SDConfig + ConsulAgentSDConfigs []*consulagent.SDConfig + ConsulSDConfigs []*consul.SDConfig + DNSSDConfigs []*dns.SDConfig + DigitalOceanSDConfigs []*digitalocean.SDConfig + DockerSwarmSDConfigs []*moby.DockerSwarmSDConfig + EC2SDConfigs []*aws.EC2SDConfig + 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 + ListenProtocol string + MaxMessageLength int + TLSConfig promconfig.TLSConfig + UseIncomingTimestamp bool + UseRFC5424Message bool + type WindowsEventsTargetConfig struct + BookmarkPath string + EventlogName string + ExcludeEventData bool + ExcludeEventMessage bool + ExcludeUserData bool + Labels model.LabelSet + Locale uint32 + PollInterval time.Duration + Query string + UseIncomingTimestamp bool