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

🎨 Tracing: instrument logs and ensure traces are propagated through asyncio.Queues #6857

Conversation

bisgaard-itis
Copy link
Contributor

@bisgaard-itis bisgaard-itis commented Nov 28, 2024

What do these changes do?

Related issue/s

How to test

Dev-ops checklist

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 62.22222% with 17 lines in your changes missing coverage. Please review.

Project coverage is 88.53%. Comparing base (e05d046) to head (c4aa535).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6857      +/-   ##
==========================================
+ Coverage   88.37%   88.53%   +0.16%     
==========================================
  Files        1567     1236     -331     
  Lines       61463    52888    -8575     
  Branches     1994     1138     -856     
==========================================
- Hits        54319    46826    -7493     
+ Misses       6813     5856     -957     
+ Partials      331      206     -125     
Flag Coverage Δ
integrationtests 65.05% <0.00%> (-0.04%) ⬇️
unittests 86.44% <62.22%> (-0.13%) ⬇️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library 93.49% <ø> (ø)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library 76.02% <61.36%> (-0.04%) ⬇️
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.38% <ø> (ø)
agent 97.00% <ø> (ø)
api_server 89.86% <ø> (ø)
autoscaling 95.21% <ø> (ø)
catalog 90.57% <ø> (ø)
clusters_keeper 98.72% <ø> (ø)
dask_sidecar 91.26% <ø> (ø)
datcore_adapter 93.18% <ø> (ø)
director 76.57% <ø> (+0.17%) ⬆️
director_v2 91.34% <ø> (-0.03%) ⬇️
dynamic_scheduler 97.07% <ø> (ø)
dynamic_sidecar 89.75% <ø> (ø)
efs_guardian 90.12% <ø> (ø)
invitations 93.44% <ø> (ø)
osparc_gateway_server ∅ <ø> (∅)
payments 92.65% <ø> (ø)
resource_usage_tracker 89.07% <ø> (ø)
storage 89.66% <ø> (ø)
webclient ∅ <ø> (∅)
webserver 88.37% <100.00%> (+<0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e05d046...c4aa535. Read the comment docs.

@bisgaard-itis bisgaard-itis self-assigned this Nov 28, 2024
@bisgaard-itis bisgaard-itis added this to the Event Horizon milestone Nov 28, 2024
@bisgaard-itis bisgaard-itis marked this pull request as ready for review November 28, 2024 09:26
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious to see this

packages/service-library/src/servicelib/async_utils.py Outdated Show resolved Hide resolved
packages/service-library/src/servicelib/logging_utils.py Outdated Show resolved Hide resolved
packages/service-library/src/servicelib/tracing.py Outdated Show resolved Hide resolved
Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the idea looks very promising
Left some suggestions

Copy link

sonarqubecloud bot commented Dec 6, 2024

@bisgaard-itis bisgaard-itis enabled auto-merge (squash) December 6, 2024 07:22
@bisgaard-itis bisgaard-itis merged commit 1f9c110 into ITISFoundation:master Dec 6, 2024
86 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@bisgaard-itis add opentelemtry trace_ids to logging and ensure all httpx clients are instrumented.
5 participants