#Retrieving Fetch Worker Information from Tail Worker

2 messages · Page 1 of 1 (latest)

sonic sage
#

Hey everyone! I have a question regarding my tail worker. It reads logs from other workers and pushes them to New Relic. I was wondering if there's a way for me to retrieve some specific information about the fetch worker that sends the logs to the tail worker. Here's what I need:

- Account name on where the worker lives.
- App name.
- Account ID and Zone ID.,
- Worker environment that was triggered/called.

Any guidance on how to obtain this information would be greatly appreciated! I appreciate any help you can provide.

somber night
#

Hi! Theres no way to add arbitrary fields but you could console.log() some of this information in your Worker and then ETL in your tail worker to get the right format