Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v1.0.0
func NewFactory() metrics.ProviderFactory
Returns a new telegraf provider factory
func NewProvider ¶
func NewProvider(cfg configuration.TelegrafSourceConfig) (metrics.SourceProvider, error)
NewProvider creates a Telegraf source
Types ¶
type SystemStats ¶
type SystemStats struct{}
func (*SystemStats) Description ¶
func (_ *SystemStats) Description() string
func (*SystemStats) Gather ¶
func (_ *SystemStats) Gather(acc telegraf.Accumulator) error
func (*SystemStats) SampleConfig ¶
func (_ *SystemStats) SampleConfig() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.