Skip to content
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

Fix telemetry reporter logging #2707

Merged
merged 11 commits into from
May 30, 2023
Merged

Fix telemetry reporter logging #2707

merged 11 commits into from
May 30, 2023

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented May 24, 2023

Description

Backport fixes from 1.2.1 and improve tests.

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration/compatibility tests.
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@AlekSi AlekSi added the code/chore Code maintenance improvements label May 24, 2023
@AlekSi AlekSi added this to the Next milestone May 24, 2023
@AlekSi AlekSi requested a review from a team as a code owner May 24, 2023 15:35
@AlekSi AlekSi self-assigned this May 24, 2023
@AlekSi AlekSi requested review from w84thesun, rumyantseva, a team, chilagrow and noisersup May 24, 2023 15:35
rumyantseva
rumyantseva previously approved these changes May 24, 2023
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

:shipit:

@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #2707 (135d033) into main (ba0005b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2707   +/-   ##
=======================================
  Coverage   63.03%   63.03%           
=======================================
  Files         441      441           
  Lines       22612    22615    +3     
=======================================
+ Hits        14253    14256    +3     
  Misses       7434     7434           
  Partials      925      925           
Impacted Files Coverage Δ
internal/util/telemetry/reporter.go 44.00% <100.00%> (+0.97%) ⬆️
Flag Coverage Δ
integration 56.49% <ø> (ø)
mongodb 4.96% <ø> (ø)
pg 56.40% <ø> (ø)
unit 24.66% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

noisersup
noisersup previously approved these changes May 24, 2023
Copy link
Member

@noisersup noisersup left a comment

Choose a reason for hiding this comment

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

Nice catch!

w84thesun
w84thesun previously approved these changes May 24, 2023
Copy link
Contributor

@w84thesun w84thesun left a comment

Choose a reason for hiding this comment

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

LGTM

@AlekSi AlekSi marked this pull request as draft May 24, 2023 16:05
@AlekSi
Copy link
Member Author

AlekSi commented May 24, 2023

There is another thing to improve, but not in a rush

chilagrow
chilagrow previously approved these changes May 26, 2023
@AlekSi AlekSi dismissed stale reviews from chilagrow, w84thesun, noisersup, and rumyantseva via 5486ef3 May 29, 2023 17:00
# Conflicts:
#	internal/handlers/commonerrors/errorcode_string.go
#	internal/util/telemetry/reporter_test.go
@AlekSi AlekSi marked this pull request as ready for review May 29, 2023 17:07
@AlekSi AlekSi enabled auto-merge (squash) May 29, 2023 17:07
@AlekSi AlekSi requested review from w84thesun, chilagrow, rumyantseva, noisersup and a team May 29, 2023 17:07
@AlekSi AlekSi merged commit c905be6 into FerretDB:main May 30, 2023
@AlekSi AlekSi deleted the fix-logging branch May 30, 2023 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants