thiago
10/21/2025, 1:42 PMprefect.events.clients - Added event id=019a06fe-62b6-76c4-9bd3-c19505ee4969 to unconfirmed events list. There are now 26 unconfirmed events. Are those messages somehow harmful?Marvin
10/21/2025, 1:42 PMMarvin
10/21/2025, 1:56 PMimport logging
logging.getLogger("prefect.events.clients").setLevel(logging.WARNING)
- For Kubernetes:
- Ensure outbound HTTPS/websocket access to the Prefect API is allowed by NetworkPolicy/egress rules.
- If you run behind a proxy/LB, set reasonable websocket idle timeouts (e.g., several minutes).
- Give pods a sufficient terminationGracePeriodSeconds so the process can flush events on shutdown.
Docs for more detail
- Events concepts in Prefect 3: Events concepts
- API references around events and the client:
- Events client API
- Create events API
- Event ordering
If you’re seeing the counter only increase or any error logs, share a snippet and details about where you’re running (Cloud vs self-hosted, any proxies/network policies) and I can help pinpoint the cause.