real-time-iot-device-monitoring-with-kinesis icon indicating copy to clipboard operation
real-time-iot-device-monitoring-with-kinesis copied to clipboard

fix random anomaly generator

Open TheRyanBurke opened this issue 6 years ago • 0 comments

Issue #, if available: anomaly rate is firing at 2% instead of indicated 3%

Description of changes: $RANDOM % 100 returns values 0-99. for 3% anomaly rate, the condition needs greater than or equal to 97 instead of greater than 97

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

TheRyanBurke avatar Feb 08 '19 23:02 TheRyanBurke