Skip to content

Diagnostics: Adapt to latest backend changes#805

Merged
tonidero merged 8 commits into
diagnosticsfrom
diagnostics-rename-entries-events
Feb 22, 2023
Merged

Diagnostics: Adapt to latest backend changes#805
tonidero merged 8 commits into
diagnosticsfrom
diagnostics-rename-entries-events

Conversation

@tonidero

Copy link
Copy Markdown
Contributor

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.

@tonidero tonidero Feb 16, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tonidero tonidero added the WIP label Feb 16, 2023
@codecov

codecov Bot commented Feb 16, 2023

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (diagnostics@3995f0a). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 72d72e2 differs from pull request most recent head 8ef8322. Consider uploading reports for the commit 8ef8322 to get more accurate results

@@              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.

@tonidero tonidero force-pushed the diagnostics-increase-jittering-diagnostics-calls branch 2 times, most recently from bd7a0cc to a68057b Compare February 17, 2023 08:59
@tonidero tonidero force-pushed the diagnostics-rename-entries-events branch from 132edab to 58a7507 Compare February 17, 2023 09:00
@tonidero tonidero removed the WIP label Feb 17, 2023
@tonidero tonidero marked this pull request as ready for review February 17, 2023 09:24
@tonidero tonidero requested a review from a team February 17, 2023 09:24

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏻

@tonidero tonidero force-pushed the diagnostics-increase-jittering-diagnostics-calls branch from a68057b to 92e0085 Compare February 22, 2023 11:13
Base automatically changed from diagnostics-increase-jittering-diagnostics-calls to diagnostics February 22, 2023 11:19
@tonidero tonidero force-pushed the diagnostics-rename-entries-events branch from 72d72e2 to 8ef8322 Compare February 22, 2023 11:22
@tonidero

Copy link
Copy Markdown
Contributor Author

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.

@tonidero tonidero merged commit 54d50b9 into diagnostics Feb 22, 2023
@tonidero tonidero deleted the diagnostics-rename-entries-events branch February 22, 2023 11:25
tonidero added a commit that referenced this pull request Feb 22, 2023
### 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.
tonidero added a commit that referenced this pull request Feb 28, 2023
### 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.
tonidero added a commit that referenced this pull request Feb 28, 2023
### 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants