# anomaly detection notebook

**URL:** <https://community.dynatrace.com/t/anomaly-detection-notebook/51292>\
**Category:** Alerting\
**Tags:** anomaly-detection, notebooks\
**Created:** [April 18, 2025, 4:35pm UTC](https://community.dynatrace.com/t/anomaly-detection-notebook/51292 "2025-04-18T16:35:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swabh](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Swabh](https://community.dynatrace.com/u/Swabh)\
**Post date:** [April 18, 2025, 4:35pm UTC](https://community.dynatrace.com/t/anomaly-detection-notebook/51292/1 "2025-04-18T16:35:59Z")

</div>

hi All ,

Has anyone tired anomaly detection using notebooks?&nbsp;[Learn how to create a Davis AI anomaly detector on Grail](https://www.dynatrace.com/news/blog/create-a-davis-ai-anomaly-detector-on-grail/)

I wonder how is it different than custom alerts ? Can anyone explain the difference and advantage?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [April 18, 2025, 10:00pm UTC](https://community.dynatrace.com/t/anomaly-detection-notebook/51292/2 "2025-04-18T22:00:05Z")

</div>

I would say that the biggest advantage is the ability to feed the results of any Grail DQL query into the analyzer, not just existing metrics. Any combination of Grail data types (Metrics, Logs, Events, & Spans) can be used to generate timeseries data to feed into the anomaly detector.
