-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to detect anomaly for Kafka rate of messages being processed #37
Comments
can you please help |
@sukantasaha Looks like you are headed in the right direction. Here are a few pointers:
|
Can you check this , have modified the script to find out derivative var groups = 'host' var scoreField = 'anomalyScore' var sigmas = 4.0 var last_day_mean = batch |
@sukantasaha It looks good. The only part that you might want to double check is the |
ok I removed offset and enable the tasks, now I see in the logs alerts generated, [kafka-derivative:alert3] 2016/12/07 11:48:00 D! CRITICAL alert triggered id:kafka-topic-social_feedback_event_queue:host=Kafka-Staging8 msg:kafka-topic-social_feedback_event_queue:host=Kafka-Staging8 is CRITICAL data:&{kafka-topic-social_feedback_event_queue map[host:Kafka-Staging8] [time anomalyScore derivative] [[2016-12-07 11:42:08.421 +0000 UTC 0.9803921568627451 0]] } question is if derivative value is 0 then why its detecting as anomaly ? |
Hi Nathaniel,
I need to find out anomaly on kafka message produced to our kafka-topic-* measurements using morgoth,
Here is the tick script
can you verify and check if this should give correct anomaly data
Also I am am not able to save the topic name which is the name of the measurement into the influxdb(kafka-morgoth-alert)
also can you explain what should be value for minSupport and errorTolerance
The text was updated successfully, but these errors were encountered: