I think you can get the location in the

I think you can get the location in the request object only cpu and wall time are exported for now. Wall time is similar to request duration so that might help
8 Replies
Unknown User
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Thomas Ankcorn
Thomas AnkcornOP•2mo ago
Hey Alex, I think you get location in the tail but not workers logpush. I will take that feedback and share with the team. I also think you might be able to answer these questions with http logpush 🙂
Unknown User
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Thomas Ankcorn
Thomas AnkcornOP•2mo ago
Yes http logpush is an enterprise feature. I believe he might know more about the metrics in datadog. Our metrics have seperate items for cpu, wall, and response times but response time was recently added so datadog might not know about it yet. I will follow up internally
Unknown User
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
rohin
rohin•3w ago
Hey Alex, sorry for taking some time to get back to you. Reading the thread, it sounds like there are three pieces of info you want: location, cpu time, and response time. Is that correct? Today, in Workers Logpush, we expose CPU time and Wall time. This was a recent update, so I'd recommend going back to your Workers Logpush job and ensuring that the fields are selected. We don't expose location in Workers Logpush today, but I'll take note of it and hopefully we can add it soon. For developers with a preferred observability provider, most choose to use Workers Logpush to forward logs. Datadog references "Response_time". Response time/duration (shown in the CF dashboard) is the difference between the time the response is returned to the client and the invocation start time. The Wall time - which we just added to Workers Logpush - is the difference between the time the invocation ends and the time the invocation starts. It includes any time elapsed in the wait_until(). We are in touch with the DDOG team and are trying to improve the metrics they ingest and surface. Does that help?
rohin
rohin•3w ago
We can also find time to chat if it's helpful. Here's my meeting link - https://calendar.app.google/z5iNR2dwyqMDrhp86
Unknown User
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?