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 `toml:"servers"` Sensors []string `toml:"sensors"` Username string `toml:"username"` Password string `toml:"password"` ClientID string `toml:"client_id"` TimestampSource string `toml:"timestamp_source"` SampleFrequency config.Duration `toml:"sample_frequency"` StrAsTags bool `toml:"str_as_tags"` RetryDelay config.Duration `toml:"retry_delay"` EnableTLS bool `toml:"enable_tls"` internaltls.ClientConfig Log telegraf.Logger // contains filtered or unexported fields }
func (*OpenConfigTelemetry) Gather ¶
func (m *OpenConfigTelemetry) Gather(_ telegraf.Accumulator) error
func (*OpenConfigTelemetry) Init ¶ added in v1.26.0
func (m *OpenConfigTelemetry) Init() error
func (*OpenConfigTelemetry) SampleConfig ¶
func (*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.