Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptsContent ¶ added in v1.31.0
Types ¶
type Parser ¶
type Parser struct {
IgnoreTimestamp bool `toml:"prometheus_ignore_timestamp"`
MetricVersion int `toml:"prometheus_metric_version"`
Header http.Header `toml:"-"` // set by the prometheus input
DefaultTags map[string]string `toml:"-"`
Log telegraf.Logger `toml:"-"`
}
func (*Parser) SetDefaultTags ¶
Click to show internal directories.
Click to hide internal directories.