@cryptotaxi247 / netdata-1 / commits / 8cf4bf47b

multipler and divider are already correct - no need to overwrite them all the time

Costa Tsaousis (ktsaou) committed May 31, 2017 at 00:06 UTC 8cf4bf47ba42f0fc2300fa375282c5f0d8904689
1 file changed -2
src/statsd.c
-2
@@ -1647,8 +1647,6 @@ static inline void statsd_update_app_chart(STATSD_APP *app, STATSD_APP_CHART *ch
1647 if(unlikely(dim->value_ptr)) {
1648 // FIXME: this is anorthodox, we should an API call at RRDDIM to overwrite these settings
1649 dim->rd->algorithm = dim->algorithm;
1650 - dim->rd->multiplier = dim->multiplier;
1651 - dim->rd->divisor = dim->divisor;
1650
1651 debug(D_STATSD, "updating dimension '%s' (%s) of chart '%s' (%s) for app '%s' with value " COLLECTED_NUMBER_FORMAT, dim->name, dim->rd->id, chart->id, chart->st->id, app->name, *dim->value_ptr);
1652 rrddim_set_by_pointer(chart->st, dim->rd, *dim->value_ptr);