#logpush + workers

9 messages · Page 1 of 1 (latest)

lone finch
#

I have a general question about logpush + workers. We are pushing standard access logs and worker logs to 2 separate buckets and hope to join them by rayID. I wanted to confirm for an incoming request that is processed by a worker and then sent as a sub request, should we expect to see 1 or 2 standard access log records for that request? (in addition to the worker log)

agile trench
lone finch
#

Yes- do they also have 1 other event for the parent request?

agile trench
#

if it's a worker invocation with a single subrequest, you'd have two events in http logpush

lone finch
#

So, I'll end up with 3 events total, 2 access log events (parent, sub request) and one worker trace log event (which I opted my worker into).

agile trench
#

yup

lone finch
#

Thank you!

#

One more question- do you expect the RayID from the worker trace log to match the RayID in the parent access log record?