-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
chore(vsts): vsts installation step metrics #80789
Conversation
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #80789 +/- ##
=======================================
Coverage 78.39% 78.39%
=======================================
Files 7206 7206
Lines 319443 319449 +6
Branches 43994 43994
=======================================
+ Hits 250427 250435 +8
+ Misses 62634 62631 -3
- Partials 6382 6383 +1 |
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.
lgtm, question around removing the log since i don't think the lifecycle replaces it.
user = get_user_info(access_token) | ||
|
||
accounts = self.get_accounts(access_token, user["uuid"]) | ||
logger.info( |
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.
do security or anyone use this log?
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'm logging it as extra
when we return the HTML template when there are no accounts. also emitting a failure there
https://github.com/getsentry/sentry/pull/80789/files#diff-ea1561c3fe6fedfc28168b76c65f65681c9efc769d6adbb617d99afaa598e867R665
Adds lifecycle metrics for VSTS installation:
AccountConfigView
andexchange_token
(there are metrics being emitted in the superclass'sexchange_token
but not in the classes here that override it).