-
Notifications
You must be signed in to change notification settings - Fork 27
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 simcore_user_agent and product_name to user service labels #3990
✨Add simcore_user_agent and product_name to user service labels #3990
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3990 +/- ##
========================================
- Coverage 85.2% 85.2% -0.1%
========================================
Files 858 874 +16
Lines 38061 39496 +1435
Branches 539 729 +190
========================================
+ Hits 32446 33660 +1214
- Misses 5490 5641 +151
- Partials 125 195 +70
Flags with carried forward coverage won't be shown. Click here to find out more.
|
services/web/server/src/simcore_service_webserver/projects/projects_api.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use the very same label that already exists on the metrics:
simcore_user_agent
And also the header you check is the wrong one.
services/director-v2/src/simcore_service_director_v2/api/routes/dynamic_services.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/director/director_api.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/projects_api.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/director_v2_core_dynamic_services.py
Outdated
Show resolved
Hide resolved
Code Climate has analyzed commit f91eefc and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hi @GitHK, I'm having a look in master if we can filter (dynamic) services started by puppeteers.
I don't see any |
@elisabettai this applies to dynamic-sidecar powered services. For legacy ones I am not aware if this should already be in place. |
I see @GitHK, so the So now I'm looking at And I don't see any |
@mrnicegyu11 might be able to answer your question there. I think the is currently dealing with it. |
@elisabettai you should now be able to find the new label (for legacy services) in master as soon as the above PR gets deployed |
What do these changes do?
Extends the user services with new labels:
simcore_user_agent
andproduct_name
.Note
simcore_user_agent
will be empty or have the valuepuppeteer
as seen below:osparc-simcore/tests/e2e/tutorials/tutorialBase.js
Line 59 in f0fdf2c
Related issue/s
How to test
Checklist