Code

stats plugin: Don't check the value of '(value_t).derive'.
[collectd.git] / src / statsd.c
index b697a347c838a61d6c28223e2c8a3e8014572e50..5af34833fbbbff4cb611f4c5ee0b24d2ace5b305 100644 (file)
@@ -218,9 +218,6 @@ static int statsd_handle_counter (char const *name, /* {{{ */
   if (status != 0)
     return (status);
 
-  if (value.derive < 1)
-    return (-1);
-
   return (statsd_metric_add (name, (double) (value.gauge / scale.gauge),
         STATSD_COUNTER));
 } /* }}} int statsd_handle_counter */