Skip to content
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

core: log execution time when processing messages #9802

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Nov 21, 2024

Tiny improvement that can sometimes be useful

[14:43:14,052] [INFO]          [WorkerCommand] request for path /v2/stdcm processed in 11.221s
[14:43:14,717] [INFO]          [WorkerCommand] received request for path /v2/path_properties
[14:43:14,718] [INFO]          [WorkerCommand] received request for path /v2/path_properties
[14:43:14,738] [INFO]          [WorkerCommand] request for path /v2/path_properties processed in 0.021s
[14:43:14,740] [INFO]          [WorkerCommand] request for path /v2/path_properties processed in 0.022s

@eckter eckter requested a review from a team as a code owner November 21, 2024 13:45
@eckter eckter requested a review from Erashin November 21, 2024 13:45
Signed-off-by: Eloi Charpentier <eloi.charpentier.42@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.81%. Comparing base (6be0604) to head (0239b1e).
Report is 3 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #9802      +/-   ##
==========================================
- Coverage   37.82%   37.81%   -0.02%     
==========================================
  Files         994      994              
  Lines       91126    91126              
  Branches     1176     1176              
==========================================
- Hits        34470    34458      -12     
- Misses      56202    56214      +12     
  Partials      454      454              
Flag Coverage Δ
editoast 72.98% <ø> (-0.05%) ⬇️
front 20.11% <ø> (ø)
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 86.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@eckter eckter added this pull request to the merge queue Nov 21, 2024
Merged via the queue into dev with commit 1cec9ef Nov 21, 2024
27 checks passed
@eckter eckter deleted the ech/log-exec-time branch November 21, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants