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)
#logpush + workers
9 messages · Page 1 of 1 (latest)
Workers Subrequests in Http logpush have another event for each subrequest with the WorkerSubrequest field set to true and the ParentRayID field equal to the RayId of the original workers request
Yes- do they also have 1 other event for the parent request?
yup
if it's a worker invocation with a single subrequest, you'd have two events in http logpush
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).
yup