Closed mjanda closed 8 years ago
@mjanda Thanks for your contribution. I merged your changes just with a different commit message and updating the channel_statistics_spec.rb tests.
Which problems did you have running the tests? (I can try to make it more easy/stable to run)
I ran into an issue when trying to monitor pushstream stats using InfluxData Telegraf - it can scan any JSON and extract variables, but only takes into account numeric fields - and quoted numbers are considered a string, not a number.
I'm keeping PID quoted because it's more like a description than value that could be measured.
I've had some problems running complete test suite, but
rspec spec/mix/channel_statistics_spec.rb
completes without failure. Looks like you're casting everything toint
there anyway.