question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metric Anomaly Detector NPE

See original GitHub issue

After rebuilding off of head for the fixes in #217 , I see these in the logs a lot.

[2018-05-07 13:38:55,817] WARN Metric Anomaly Detector encountered exception: (com.linkedin.kafka.cruisecontrol.detector.MetricAnomalyDetector) java.lang.NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1026) at java.util.Collections$UnmodifiableList.<init>(Collections.java:1302) at java.util.Collections.unmodifiableList(Collections.java:1287) at com.linkedin.cruisecontrol.monitor.sampling.aggregator.ValuesAndExtrapolations.windows(ValuesAndExtrapolations.java:63) at com.linkedin.cruisecontrol.detector.metricanomaly.PercentileMetricAnomalyFinder.metricAnomalies(PercentileMetricAnomalyFinder.java:136) at com.linkedin.kafka.cruisecontrol.detector.MetricAnomalyDetector.run(MetricAnomalyDetector.java:65) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
saritagocommented, Feb 1, 2019

@efeg +1, will try it and let you know the results. Thank you !

0reactions
efegcommented, Feb 22, 2019

Closing the issue as the deadlock issue of the reported version from May 2018 has already been fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SingleMetricAnomalyDetector - Amazon CloudWatch
Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.
Read more >
Getting anomaly detection right by structuring logs automatically
Using machine learning to structure logs achieves effective anomaly detection.
Read more >
Anomaly Detector - Anomaly Detection System | Microsoft Azure
It's the core engine of Metrics Advisor that detects anomalies in time-series data. It's best applied for ad-hoc data analysis, and it can...
Read more >
About metric anomaly detection - IBM
This AI algorithm generates alerts when it detects anomalous behaviour in your metrics. Description. Metric anomaly detection learns normal patterns of metric ......
Read more >
Metric events: Set up anomaly detection based on ... - Dynatrace
Firstly, an anomaly detector known as a metric key analyzes the incoming raw data ingest. With a pre-defined static threshold, you can monitor ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found