Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateMetric ¶
type TemplateMetric struct {
// contains filtered or unexported fields
}
func (*TemplateMetric) Field ¶
func (m *TemplateMetric) Field(key string) interface{}
func (*TemplateMetric) Name ¶
func (m *TemplateMetric) Name() string
func (*TemplateMetric) Tag ¶
func (m *TemplateMetric) Tag(key string) string
func (*TemplateMetric) Time ¶
func (m *TemplateMetric) Time() time.Time
type TemplateProcessor ¶
type TemplateProcessor struct { Tag string `toml:"tag"` Template string `toml:"template"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*TemplateProcessor) Apply ¶
func (r *TemplateProcessor) Apply(in ...telegraf.Metric) []telegraf.Metric
func (*TemplateProcessor) Description ¶
func (r *TemplateProcessor) Description() string
func (*TemplateProcessor) Init ¶
func (r *TemplateProcessor) Init() error
func (*TemplateProcessor) SampleConfig ¶
func (r *TemplateProcessor) SampleConfig() string
Click to show internal directories.
Click to hide internal directories.