Tail Workers and Additional Event Data
Is it possible to add additional data to events passed to a Tail Worker? For instance, I have multiple workers stitched together with a unique
UUID
. For instance, a scheduled
worker kicks off and generates a UUID
and sends messages to a queue
consumer with the UUID
as part of the message body. That queue
also generates console.log
messages. So, I've got two workers that are dealing with a single UUID
and I'd like to use that data in my Tail Worker.
Is there a way to add the UUID
to something that will have it bubble up into the TailItems
object? Otherwise, I need to add the UUID
into the console.log
messages and parse them out. It would be nice if extra metadata could be added to the TailItems
's event
node.
Is this possible in any way?0 Replies