<@ULVA73B9P> where do i find out how many hours of...
# ask-marvin
m
@Marvin where do i find out how many hours of serverless i have left
m
thought for 249.0 seconds
Short answer: there isn’t a self-serve counter in the Prefect Cloud UI today that shows how many Serverless (Managed Execution) minutes/hours you have left. What you can do right now: - Set up an automation to alert when you’ve exceeded your managed-execution quota - In Cloud: Automations > New automation > Trigger: “Event occurs” > Event type:
prefect-cloud.managed-execution.exceeded
> choose your notification action (email/Slack/etc). - Docs: Automations - Programmatically monitor usage via Cloud Events - Look for
prefect-cloud.managed-execution.used
and
prefect-cloud.managed-execution.exceeded
events. - Docs: Cloud Events reference - Rate limits page (FYI): Account Settings > Rate Limits is for API request limits, not compute minutes - Docs: Rate limits Additional context on Serverless/Managed Execution: - Monthly compute limits apply per workspace; usage is measured from compute start to teardown, rounded to the nearest minute (max single flow run time is 24h). - Docs: Managed execution limits If you need your current remaining balance for this month, the fastest route is to reach out to us at help@prefect.io or your account rep and we can pull it for you. Would you like me to help you set up an automation to warn you before you run out, or are you looking for an exact number for this month’s remaining minutes?
m
@Marvin why do i not see this anywhere in my audit log events?
prefect-cloud
m
thought for 105.9 seconds
Great question — this is a UI distinction. - The Audit Log UI (Account Settings > Audit Log) is focused on compliance-style CRUD/security events (e.g., user logins, API key created, workspace updated). Many
prefect-cloud.*
events appear there, but not all. - Managed execution events like
prefect-cloud.managed-execution.used
and
prefect-cloud.managed-execution.exceeded
are emitted to the Events system, but they generally do not surface in the Audit Log view. You’ll find them in the Event Feed and via the Events API/CLI. How to see them: - In the UI: Open the Event Feed and filter by event name containing
prefect-cloud.managed-execution.*
- Via CLI:
Copy code
prefect events stream
Or for account-wide events:
Copy code
prefect events stream --account
- Via API (filter for
prefect-cloud.managed-execution.used
/
...exceeded
): Docs: Read events API and Cloud events reference Related docs: - Events concepts: Events - Audit Logs (what appears there): Audit Logs If you’d like, I can share an example Events filter payload you can use with the API, or help you set up an automation that triggers when
prefect-cloud.managed-execution.exceeded
occurs.