Enhancement: Track and Log Script Runtime Duration #6
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nick/753-Data-Sync#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Add support to 753 Data Sync for tracking and logging the total execution time of the script in a human-readable format. This enhancement improves observability and can help identify performance issues in long-running data sync operations.
Proposed Behavior
At the end of script execution (in the
finallyblock of themain()function), the script should:HH:MM:SSformat.Benefits
Implementation Notes
time.time()to capture start and end timestamps.datetime.timedeltafor clean display (HH:MM:SS).INFO-level message in thefinallyblock of themain()function.Example Log Output
Enhancement: Add Script Execution Time Loggingto Enhancement: Track and Log Script Runtime DurationThis has been merged into master.