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

♻️ Labels for metrics scraping #3881

Merged
merged 15 commits into from
Feb 20, 2023

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Feb 15, 2023

What do these changes do?

  • ♻️ moved SimcoreServiceDockerLabelKeys to models_library.docker
  • added user project and node labels to "user services container".

Related issue/s

How to test

Checklist

  • Unit tests for the changes exist

@GitHK GitHK self-assigned this Feb 15, 2023
@GitHK GitHK added this to the Resistance Is Futile milestone Feb 15, 2023
@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #3881 (6deccdc) into master (3b883ba) will decrease coverage by 12.9%.
The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3881      +/-   ##
=========================================
- Coverage    83.5%   70.7%   -12.9%     
=========================================
  Files         419     668     +249     
  Lines       21371   30210    +8839     
  Branches      137     415     +278     
=========================================
+ Hits        17851   21360    +3509     
- Misses       3471    8751    +5280     
- Partials       49      99      +50     
Flag Coverage Δ
integrationtests 66.0% <100.0%> (-0.7%) ⬇️
unittests 78.0% <80.0%> (-0.8%) ⬇️

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

Impacted Files Coverage Δ
...modules/dynamic_sidecar/scheduler/_core/_events.py 96.7% <ø> (-0.6%) ⬇️
...ckages/models-library/src/models_library/docker.py 86.2% <80.0%> (ø)
...v2/modules/dynamic_sidecar/docker_compose_specs.py 94.1% <100.0%> (-5.0%) ⬇️
...-v2/src/simcore_service_director_v2/cli/_client.py 0.0% <0.0%> (-100.0%) ⬇️
...v2/src/simcore_service_director_v2/cli/__init__.py 0.0% <0.0%> (-100.0%) ⬇️
...r/src/simcore_service_webserver/storage_schemas.py 0.0% <0.0%> (-100.0%) ⬇️
...service_webserver/projects/_project_models_rest.py 0.0% <0.0%> (-100.0%) ⬇️
...service_director_v2/cli/_close_and_save_service.py 0.0% <0.0%> (-100.0%) ⬇️
...odules/dynamic_sidecar/scheduler/_core2/_errors.py 0.0% <0.0%> (-100.0%) ⬇️
...odules/dynamic_sidecar/scheduler/_core2/_marker.py 0.0% <0.0%> (-100.0%) ⬇️
... and 495 more

@GitHK GitHK marked this pull request as ready for review February 15, 2023 12:15
@GitHK GitHK added the a:director-v2 issue related with the director-v2 service label Feb 15, 2023
Copy link
Member

@mguidon mguidon left a comment

Choose a reason for hiding this comment

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

Thanks

@GitHK GitHK requested a review from pcrespov February 15, 2023 14:01
@GitHK GitHK requested a review from pcrespov February 15, 2023 15:18
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.

See my comments.
Also I do not understand why only the user_id is set and not the usual project/node as well.

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.

Pls check my responses. we can perhaps check face-to-face to avoid further iterations :-) and accelerate

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.

Thx! Please note the comment on the type annotation before merging.

@codeclimate
Copy link

codeclimate bot commented Feb 20, 2023

Code Climate has analyzed commit 6deccdc and detected 0 issues on this pull request.

View more on Code Climate.

@sonarcloud
Copy link

sonarcloud bot commented Feb 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.2% 0.2% Duplication

@GitHK GitHK merged commit 1da8dab into ITISFoundation:master Feb 20, 2023
@GitHK GitHK deleted the pr-osparc-container-user-id branch February 20, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:director-v2 issue related with the director-v2 service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants