# ask-marvin

Jeff Hale

04/28/2023, 12:18 AM
@Marvin “Is there a good way to monitor agents in prefect cloud 2”


04/28/2023, 12:18 AM
Monitoring agents in Prefect Cloud 2 can be done through various methods. One way is to use the Automations feature in Prefect Cloud, which allows you to set up notifications related to flow run state changes and work queue health. Prefect supports sending notifications via Slack, Microsoft Teams, Opsgenie, PagerDuty, Twilio, and Email (requires your own server) source. Additionally, Prefect Cloud provides an Audit Log feature for Organization and Enterprise plans, which offers compliance and transparency tools. Audit logs provide a chronological record of activities performed by users in your organization, allowing you to monitor detailed actions for security and compliance purposes source. For more information on organizing your flows, tasks, and deployments, you can use customizable filters and tags in Prefect 2. The role of agents has also changed in Prefect 2, with only one generic agent type that polls a work pool looking for flow runs source. For more details on agents and work pools, you can visit this Discourse page.