Jeffrey Lam
02/20/2025, 4:14 PMNate
02/20/2025, 4:45 PMJeffrey Lam
02/20/2025, 5:01 PM<http://localhost:4200/api>
Nate
02/20/2025, 5:13 PMprefect events stream --format text
and then emit the event, do you see it show up? e.g.
» prefect events stream --format text
Subscribing to event stream...
2025-02-20T17:13:04.981979+00:00 hi test123
» python -c "from prefect.events import emit_event;emit_event('hi', resource={'prefect.resource.id': 'test123'})"
Jeffrey Lam
02/20/2025, 5:15 PMJeffrey Lam
02/20/2025, 5:28 PMJeffrey Lam
02/21/2025, 4:43 PMEvent persister started
Nate
02/21/2025, 7:03 PMokay I can see the event when I stream, but am I suppose to see it in the UI as well?yeah generally you should be able to hmm there might be something going on, i can take a look
Nate
02/21/2025, 7:31 PMNate
02/21/2025, 7:42 PM» PREFECT_SERVER_LOGGING_LEVEL=DEBUG uvx prefect@3.2.7 server start
___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_ _|
| _/ / _|| _|| _| (__ | |
|_| |_|_\___|_| |___\___| |_|
Configure Prefect to communicate with the server with:
prefect config set PREFECT_API_URL=<http://127.0.0.1:4200/api>
View the API reference documentation at <http://127.0.0.1:4200/docs>
Check out the dashboard at <http://127.0.0.1:4200>
INFO: Started server process [80155]
INFO: Waiting for application startup.
.....
13:41:54.448 | DEBUG | prefect.server.events.services.event_persister - Event persister started
Nate
02/21/2025, 7:42 PMJeffrey Lam
02/21/2025, 8:12 PM