-
Notifications
You must be signed in to change notification settings - Fork 319
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
Billing explanation logs #7747
Billing explanation logs #7747
Conversation
ChangelogFeatures
Bug fixes and improvementsKnown issues
|
Codecov ReportAttention:
@@ Coverage Diff @@
## main #7747 +/- ##
============================================
+ Coverage 74.11% 74.12% +0.01%
Complexity 6252 6252
============================================
Files 852 852
Lines 33672 33696 +24
Branches 4011 4012 +1
============================================
+ Hits 24955 24977 +22
- Misses 7167 7169 +2
Partials 1550 1550
|
LGTM. Will we document it somewhere? |
@@ -215,18 +217,23 @@ internal class BillingController( | |||
is NavigationSessionState.Idle -> { | |||
getRunningOrPausedSessionSkuId()?.let { | |||
billingService.pauseBillingSession(it) | |||
logI(BILLING_EXPLANATION_CATEGORY) { |
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.
@VysotskiVadim I think we can test it, and check that we print correct reason to logs.
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.
sure, we can!
Let's not announce this feature in public documentation until unit tests are in place.
Description
From time to time customers asks us why they are billed for a certain amount of trip/freedrive sessions? This PR introduces answer to that question. A customer can filter logcat output using
BillingExplanation
and see why exactly certain billed session started/stopped/paused/resumed.This is port of #7710 which has already helped to a customer.
Screenshots or Gifs