-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move key telemetry spans into app #1171
Comments
@taylordowns2000 I am not fully grokking the difference between (2) & (3): I think this addresses 2 (it exposes the Oban telemetry relating to the queue time for jobs on the 'runs' queue): Following the code, I end up at: https://github.com/OpenFn/Lightning/blob/1920e834c81cc1921384dbf92c9d992582b7e544/lib/lightning/runtime/handler.ex#L50 Is this where I should be looking for (3) - or am I completely lost? |
@taylordowns2000 Questions, part deux: For (4) - would I be correct in assuming that we would want to instrument both the initial load of the history page as well as the filters ( |
Good questions @rorymckinley . 2 - I think I had this wrong earlier. I think the function from the initial set of load tests that was getting spanned was to add a workorder to the queue, rather than to actually start a workorder. |
Thanks @taylordowns2000 . 2 - Ok, I will inspect and adapt. |
@taylordowns2000 Wrt (2) - I believe the code you are referencing in the load tests is this: This currently included within the telemetry span that I built to address (1). If my above understanding is correct, I would suggest that we perhaps do not include a lower-level span as well, until we have a reason to drill down? |
@taylordowns2000 pending an answer to my question above - this is what i have at the moment (note: I have some questions relating to the code itself but if you are happy with this as a first pass, I think I am going to move on to the loadtesting. Hopefully it will generate more diverse data which would give us a better opportunity to see how the LiveDashboard performs. |
That's perfect. Thank you, Rory. I'll also connect you with @josephjclark toward the end of next week to discuss some key metrics for the new JavaScript Worker--the thing that pulls work order attempts off the queue and... does work. |
Right now, our load_testing script (see BENCHMARKING.md) is adding spans around key functions in an
.exs
file. This ticket is to experiment with adding those spans into the app itself so we can monitor them first in Live Dashboard and then later in grafana/something like it.The proposed spans are:
The text was updated successfully, but these errors were encountered: