Refactor Parser
into specialized parsers for each StatsD syntax
#576
Labels
enhancement
library
Issues pertaining to the use of the packages as a library more than the exporter itself
Description
The current
Parser
implementation inpkg/line/line.go
handles multiple types of syntax (DogStatsD, InfluxDB, Librato, SignalFX) within a single parser. This makes the code complex and harder to maintain. We propose refactoring theParser
to separate parsers for each syntax type.Goals
Proposed Solution
Parser
interface that each specific parser will implement.The text was updated successfully, but these errors were encountered: