Documentation ¶
Index ¶
- type Parser
- func (p *Parser) EnableDogstatsdParsing()
- func (p *Parser) EnableInfluxdbParsing()
- func (p *Parser) EnableLibratoParsing()
- func (p *Parser) EnableSignalFXParsing()
- func (p *Parser) LineToEvents(line string, sampleErrors prometheus.CounterVec, ...) event.Events
- func (p *Parser) ParseDogStatsDTags(component string, labels map[string]string, tagErrors prometheus.Counter, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶ added in v0.18.0
type Parser struct { DogstatsdTagsEnabled bool InfluxdbTagsEnabled bool LibratoTagsEnabled bool SignalFXTagsEnabled bool }
Parser is a struct to hold configuration for parsing behavior
func (*Parser) EnableDogstatsdParsing ¶ added in v0.18.0
func (p *Parser) EnableDogstatsdParsing()
EnableDogstatsdParsing option to enable dogstatsd tag parsing
func (*Parser) EnableInfluxdbParsing ¶ added in v0.18.0
func (p *Parser) EnableInfluxdbParsing()
EnableInfluxdbParsing option to enable influxdb tag parsing
func (*Parser) EnableLibratoParsing ¶ added in v0.18.0
func (p *Parser) EnableLibratoParsing()
EnableLibratoParsing option to enable librato tag parsing
func (*Parser) EnableSignalFXParsing ¶ added in v0.18.0
func (p *Parser) EnableSignalFXParsing()
EnableSignalFXParsing option to enable signalfx tag parsing
func (*Parser) LineToEvents ¶ added in v0.18.0
func (p *Parser) LineToEvents(line string, sampleErrors prometheus.CounterVec, samplesReceived prometheus.Counter, tagErrors prometheus.Counter, tagsReceived prometheus.Counter, logger log.Logger) event.Events
func (*Parser) ParseDogStatsDTags ¶ added in v0.18.0
Click to show internal directories.
Click to hide internal directories.