Diagnostics: Adapt to latest backend changes#805
Conversation
There was a problem hiding this comment.
I'm still confirming whether we need to send any metrics. But if not, we can probably just remove DiagnosticsEntry entirely and just leave DiagnosticsEvent as a data class.
Codecov Report
@@ Coverage Diff @@
## diagnostics #805 +/- ##
==============================================
Coverage ? 82.36%
==============================================
Files ? 130
Lines ? 4309
Branches ? 549
==============================================
Hits ? 3549
Misses ? 543
Partials ? 217 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
bd7a0cc to
a68057b
Compare
132edab to
58a7507
Compare
a68057b to
92e0085
Compare
72d72e2 to
8ef8322
Compare
|
Tests are failing due to Sdkman but they are passing locally and since this is being merged to a non-main branch, will merge it for now. Will deal with those issues in that branch. |
### Description This PR we are adapting the code to the latest changes in the backend. ### Changes - We've removed `exceptions` as a type of diagnostic, those can be sent as a Log/Event - We've renamed `DiagnosticsEvent` to `DiagnosticsEntry` - We've renamed `DiagnosticsEvent.Log` to `DiagnosticsEntry.Event` - Renamed "type" of `DiagnosticsEntry.Event` to `event` - Enabled diagnostics and verbose logs in purchase tester.
### Description This PR we are adapting the code to the latest changes in the backend. ### Changes - We've removed `exceptions` as a type of diagnostic, those can be sent as a Log/Event - We've renamed `DiagnosticsEvent` to `DiagnosticsEntry` - We've renamed `DiagnosticsEvent.Log` to `DiagnosticsEntry.Event` - Renamed "type" of `DiagnosticsEntry.Event` to `event` - Enabled diagnostics and verbose logs in purchase tester.
### Description This PR we are adapting the code to the latest changes in the backend. ### Changes - We've removed `exceptions` as a type of diagnostic, those can be sent as a Log/Event - We've renamed `DiagnosticsEvent` to `DiagnosticsEntry` - We've renamed `DiagnosticsEvent.Log` to `DiagnosticsEntry.Event` - Renamed "type" of `DiagnosticsEntry.Event` to `event` - Enabled diagnostics and verbose logs in purchase tester.
Description
This PR we are adapting the code to the latest changes in the backend.
Changes
exceptionsas a type of diagnostic, those can be sent as a Log/EventDiagnosticsEventtoDiagnosticsEntryDiagnosticsEvent.LogtoDiagnosticsEntry.EventDiagnosticsEntry.Eventtoevent