-
Notifications
You must be signed in to change notification settings - Fork 119
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
More Instrumentation to Trip Segmentation and Dwell Segmentation #1007
Conversation
Local StagingTop 20%
Bottom 80%
It seems that
|
@TeachMeTW @JGreenlee as you may recall, the plan now is to actually make the improvements instead of pushing finer-grained metrics to production. We can keep tweaking the instrumentation until the cows come home, but the goal of this project is not additional instrumentation - it is performance improvement. Highlighting the steps from our last chat:
|
@shankari I understand the goal is to focus on performance improvements rather than extending the instrumentation further. I shared the detailed analysis here to highlight the areas identified as bottlenecks and provide visibility into the instrumentation's findings. However, I agree that this might not be the best place for such detailed analysis. I’ll move this analysis to the emission docs for better documentation and traceability -- and to not give the impression we are adding more instrumentation |
Overview
This PR introduces enhanced instrumentation to key components of the trip segmentation process, enabling more granular performance analysis. Specifically, the following changes were made:
create_places_and_trips
andhandle_trip_ended
functions.Previous Data (based on ccebikes prod)
Top 20%
Bottom 80%
New Instrumented (Based on local open_access)
Top 20%
Bottom 80%