# Performance guidance for Document-level monitors / alerting

**URL:** <https://forum.opensearch.org/t/performance-guidance-for-document-level-monitors-alerting/11216>\
**Category:** Alerting\
**Created:** [October 14, 2022, 8:36pm UTC](https://forum.opensearch.org/t/performance-guidance-for-document-level-monitors-alerting/11216 "2022-10-14T20:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryn9](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@ryn9](https://forum.opensearch.org/u/ryn9)\
**Post date:** [October 14, 2022, 8:36pm UTC](https://forum.opensearch.org/t/performance-guidance-for-document-level-monitors-alerting/11216/1 "2022-10-14T20:36:59Z")

</div>

I plan to soon start testing some use cases requiring many different combinations of monitors, queries, triggers, and actions for document level monitoring.

Can we get some guidance on performance impacts of building out many different monitor object, vs packing more queries into one monitoring object, impact of one vs many trigger definitions in in the context of a monitoring definition, etc…

It would also be great to update the docs with such guidance 🙂

---

<div class="post-metadata">

**Author:** ![ryn9](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@ryn9](https://forum.opensearch.org/u/ryn9)\
**Post date:** [October 20, 2022, 9:52pm UTC](https://forum.opensearch.org/t/performance-guidance-for-document-level-monitors-alerting/11216/2 "2022-10-20T21:52:56Z")

</div>

Created a related github request:

> <https://github.com/opensearch-project/alerting/issues/620>
>
> \*\*Is your feature request related to a problem?\*\*
> 
> We plan to soon start testi…ng some use cases requiring many different combinations of monitors, queries, triggers, and actions for document level monitoring, but are not quite clear the best way to implement, at scale, to achieve best performance.
> 
> \*\*What solution would you like?\*\*
> 
> Can we get some guidance on performance impacts of building out many different monitor object, vs packing more queries into one monitoring object, impact of one vs many trigger definitions in in the context of a monitoring definition, etc…
> 
> It would also be great to update the docs with such guidance :slight\_smile:
> 
> \*\*What alternatives have you considered?\*\*
> n/a
> 
> \*\*Do you have any additional context?\*\*
> https://forum.opensearch.org/t/performance-guidance-for-document-level-monitors-alerting/11216/1
