Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionByKeys ¶
type CollectionByKeys []DataGroup
Sort the data groups by number of keys
func (CollectionByKeys) Insert ¶
func (a CollectionByKeys) Insert(tags map[string]string, data map[string]interface{}) CollectionByKeys
Inserts into already existing group or creates a new group
func (CollectionByKeys) IsAvailable ¶
func (a CollectionByKeys) IsAvailable(tags map[string]string) *DataGroup
Checks to see if there is already a group with these tags and returns its index. Returns -1 if unavailable.
func (CollectionByKeys) Len ¶
func (a CollectionByKeys) Len() int
func (CollectionByKeys) Less ¶
func (a CollectionByKeys) Less(i, j int) bool
func (CollectionByKeys) Swap ¶
func (a CollectionByKeys) Swap(i, j int)
type OpenConfigTelemetry ¶
type OpenConfigTelemetry struct { Servers []string Sensors []string Username string Password string ClientID string `toml:"client_id"` SampleFrequency internal.Duration `toml:"sample_frequency"` SSLCert string `toml:"ssl_cert"` StrAsTags bool `toml:"str_as_tags"` RetryDelay internal.Duration `toml:"retry_delay"` // contains filtered or unexported fields }
func (*OpenConfigTelemetry) Description ¶
func (m *OpenConfigTelemetry) Description() string
func (*OpenConfigTelemetry) Gather ¶
func (m *OpenConfigTelemetry) Gather(acc telegraf.Accumulator) error
func (*OpenConfigTelemetry) SampleConfig ¶
func (m *OpenConfigTelemetry) SampleConfig() string
func (*OpenConfigTelemetry) Start ¶
func (m *OpenConfigTelemetry) Start(acc telegraf.Accumulator) error
func (*OpenConfigTelemetry) Stop ¶
func (m *OpenConfigTelemetry) Stop()
Click to show internal directories.
Click to hide internal directories.