Graphite - allow to silently skip infinity and NaN values #6415
Labels
feature request
Requests for new plugin and for new features to existing plugins
Milestone
Feature Request
Allow Graphite parser to silently ignore values that are supported by Graphite but unsupported by InfluxDB (NaN, infinity).
Proposal:
Introduce a flag that would allow to drop these values without writing anything to log.
Current behavior:
Parser logs an error after encountering such value:
telegraf/plugins/parsers/graphite/parser.go
Lines 124 to 126 in 3f03fa6
Desired behavior:
Silently drop infinity and NaN values (
Inf
,-Inf
,NaN
,Infinity
,-Infinity
). They are already properly parsed, but currently log an error.Use case:
I want to process some Graphite metrics in Telegraf and pass them to InfluxDB, but currently Telegraf generates an error message to system journal for each dropped metric value, resulting in an unacceptable amount of logs.
The text was updated successfully, but these errors were encountered: