Documentation ¶
Overview ¶
Package conf contains all of the configuration structs for scollector.
Index ¶
- type AWS
- type Cadvisor
- type Conf
- type ExtraHop
- type Github
- type GoogleAnalytics
- type GoogleAnalyticsSite
- type HAProxy
- type HAProxyInstance
- type HTTPUnit
- type ICMP
- type MIB
- type MIBMetric
- type MIBTag
- type MIBTree
- type Nexpose
- type ProcessDotNet
- type ProcessParams
- type RabbitMQ
- type RedisCounters
- type Riak
- type SNMP
- type ServiceParams
- type Vsphere
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { // Host is the OpenTSDB or Bosun host to send data. Host string // FullHost enables full hostnames: doesn't truncate to first ".". FullHost bool // ColDir is the external collectors directory. ColDir string // Tags are added to every datapoint. If a collector specifies the same tag // key, this one will be overwritten. The host tag is not supported. Tags opentsdb.TagSet // Hostname overrides the system hostname. Hostname string // DisableSelf disables sending of scollector self metrics. DisableSelf bool // Freq is the default frequency in seconds for most collectors. Freq int // BatchSize is the number of metrics that will be sent in each batch. BatchSize int // Filter filters collectors matching these terms. Filter []string // PProf is an IP:Port binding to be used for debugging with pprof package. // Examples: localhost:6060 for loopback or :6060 for all IP addresses. PProf string // MetricFilters takes regular expressions and includes only indicies that // match those filters from being monitored MetricFilters []string // KeepalivedCommunity, if not empty, enables the Keepalived collector with // the specified community. KeepalivedCommunity string //Override default network interface expression IfaceExpr string HAProxy []HAProxy SNMP []SNMP MIBS map[string]MIB ICMP []ICMP Vsphere []Vsphere AWS []AWS Process []ProcessParams SystemdService []ServiceParams ProcessDotNet []ProcessDotNet HTTPUnit []HTTPUnit Riak []Riak Github []Github // ElasticIndexFilters takes regular expressions and excludes indicies that // match those filters from being monitored for metrics in the elastic.indices // namespace ElasticIndexFilters []string RabbitMQ []RabbitMQ Nexpose []Nexpose GoogleAnalytics []GoogleAnalytics Cadvisor []Cadvisor RedisCounters []RedisCounters ExtraHop []ExtraHop LocalListener string }
type GoogleAnalytics ¶
type GoogleAnalytics struct { ClientID string Secret string Token string Sites []GoogleAnalyticsSite }
type GoogleAnalyticsSite ¶
type HAProxy ¶
type HAProxy struct { User string Password string Instances []HAProxyInstance }
type HAProxyInstance ¶
type MIBMetric ¶
type MIBMetric struct { Metric string Oid string Unit string // metadata unit RateType string // defaults to gauge Description string FallbackOid string // Oid to try if main one doesn't work. Used in cisco where different models use different oids Tags string // static tags to populate for this metric. "direction=in" Scale float64 }
type ProcessDotNet ¶
type ProcessDotNet struct {
Name string
}
type ProcessParams ¶
type RedisCounters ¶
type ServiceParams ¶
Click to show internal directories.
Click to hide internal directories.