Sign in

Rohin Lohe

@rohin.dev
45 followers 16 following 3 posts

observability @ cloudflare workers

PostsRepliesMedia
Rohin Lohe @rohin.dev · 14/12/2024
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)
020
Rohin Lohe @rohin.dev · 14/12/2024
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)
120
Rohin Lohe @rohin.dev · 14/12/2024
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)
181