Retrieving Fetch Worker Information from Tail Worker

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.
- 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.
1 Reply
tanushree │ Workers PM
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 Only thing that you won't be able to access is the Workers environment
Want results from more Discord servers?
Add your server