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

add celery task id chain #5441

Merged
merged 2 commits into from
Jan 13, 2025
Merged

add celery task id chain #5441

merged 2 commits into from
Jan 13, 2025

Conversation

maskarb
Copy link
Member

@maskarb maskarb commented Jan 10, 2025

Description

This change will add more celery-ids.
Example:

koku-worker-1  | [2025-01-10 21:00:20,325] INFO 4d51dd73-847f-499e-a774-6889c781c26d None 4d51dd73-847f-499e-a774-6889c781c26d 35 {'message': 'checking for report updates' <<<< very beginning
koku-worker-1  | [2025-01-10 21:00:22,720] INFO 4d51dd73-847f-499e-a774-6889c781c26d 4d51dd73-847f-499e-a774-6889c781c26d 0ed8e696-eea4-482a-9a2e-25793ad1a099 35 {'message': 'downloading report' <<<<<< next in chain
koku-worker-1  | [2025-01-10 21:00:38,325] INFO 4d51dd73-847f-499e-a774-6889c781c26d 0ed8e696-eea4-482a-9a2e-25793ad1a099 af1e4b71-35e5-46da-8800-7c2b6cadb402 35 {'message': 'report to summarize <<<<<< next

Testing

  1. just look at logs 😄

Release Notes

  • proposed release note
* add chain of celery task ids to logs

@maskarb maskarb requested review from a team as code owners January 10, 2025 21:21
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.2%. Comparing base (882f4a2) to head (ca7531b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #5441   +/-   ##
=====================================
  Coverage   94.2%   94.2%           
=====================================
  Files        371     371           
  Lines      31546   31546           
  Branches    3379    3379           
=====================================
+ Hits       29705   29706    +1     
+ Misses      1197    1196    -1     
  Partials     644     644           

@maskarb maskarb added the hot-fix-smoke-tests pr_check label to run minimal smoke tests for fast moving bug-fix label Jan 13, 2025
@maskarb
Copy link
Member Author

maskarb commented Jan 13, 2025

/retest

@maskarb maskarb merged commit 7a68a92 into main Jan 13, 2025
11 of 12 checks passed
@maskarb maskarb deleted the celery-task-ids branch January 13, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hot-fix-smoke-tests pr_check label to run minimal smoke tests for fast moving bug-fix smokes-required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants