-
Notifications
You must be signed in to change notification settings - Fork 65
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
use new metric helpers #185
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
+ Coverage 69.92% 71.37% +1.45%
==========================================
Files 22 22
Lines 1862 1869 +7
Branches 221 227 +6
==========================================
+ Hits 1302 1334 +32
+ Misses 550 525 -25
Partials 10 10 ☔ View full report in Codecov by Sentry. |
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.
Looks good! one non-blocking comment 🚀
@@ -181,20 +183,6 @@ export function setupLogger() { | |||
// token: getTokenType(), | |||
// }, | |||
// }) | |||
// $FlowIssue |
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.
type safety ++ !
src/logger.js
Outdated
}); | ||
}); | ||
|
||
// Deprecated - will remove once we have verified no other clients are importing this function |
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.
option to use jsdoc syntax:
/**
* @deprecated - will remove...
*/
and then the message will show on hover in other code bases.
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.
oh wow great idea!
metricCounter
interfacesendMetricCount