grobian / carbon-c-relay

Enhanced C implementation of Carbon relay, aggregator and rewriter
Apache License 2.0
380 stars 107 forks source link

Internal metrics sent via 'statistics send to cluster' counted as blackholed as well as sent. #405

Closed lexx-bright closed 4 years ago

lexx-bright commented 4 years ago
cluster test  forward 127.0.0.1:10000 ;
statistics send to test stop ;
match * send to test ;
# nc -k -l 127.0.0.1 10000 | egrep 'novalocal.metrics(Received|Blackholed|Sent)'  
carbon.relays.carbon36test_novalocal.metricsReceived 0 1581062199
carbon.relays.carbon36test_novalocal.metricsBlackholed 0 1581062199
carbon.relays.carbon36test_novalocal.metricsSent 0 1581062199
carbon.relays.carbon36test_novalocal.metricsReceived 42 1581062259
carbon.relays.carbon36test_novalocal.metricsBlackholed 42 1581062259
carbon.relays.carbon36test_novalocal.metricsSent 42 1581062259
grobian commented 4 years ago

hmmm, yeah, this looks odd.

grobian commented 4 years ago

I think this will do. (For me it did the trick.)

lexx-bright commented 4 years ago

Thanks.