Rohin Lohe
rohin.dev
Rohin Lohe
@rohin.dev
observability @ cloudflare workers
data plane: as logs are emitted from a Cloudflare Worker, they are filtered by the RpcTarget instance and then streamed to the user over a WebSocket connection from the Durable Object. (3/3)
December 14, 2024 at 12:06 AM
configuration plane: when a user enables real-time logs, we set the customer's filters in a durable object that's sharded by customer script ID and account ID. a tail worker monitors this durable object and creates an RpcTarget in a separate worker. (2/3)
December 14, 2024 at 12:06 AM
real-time logs for cloudflare workers has a new look 👀 you can now search and filter your real-time logs the same way you do with workers logs. here's a bit on how the Workers Observability team (h/t Maksym Makuch) built this (1/3)
December 14, 2024 at 12:06 AM