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

Adding telemetry for specific Fleet Desktop errors #23349

Merged
merged 13 commits into from
Oct 31, 2024

Conversation

getvictor
Copy link
Member

@getvictor getvictor commented Oct 29, 2024

Adding telemetry for catching issue #19172

Docs changes

In another PR: https://github.com/fleetdm/fleet/pull/23423/files

Demo

Checklist for submitter

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.
  • Added/updated tests
  • Manual QA for all new/changed functionality
  • For Orbit and Fleet Desktop changes:
    • Orbit runs on macOS, Linux and Windows. Check if the orbit feature/bugfix should only apply to one platform (runtime.GOOS).
    • Manual QA must be performed in the three main OSs, macOS, Windows and Linux.
    • Auto-update manual QA, from released version of component to new version (see tools/tuf/test).

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 71.53285% with 39 lines in your changes missing coverage. Please review.

Project coverage is 63.15%. Comparing base (12b2914) to head (ca9cbb3).
Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
orbit/cmd/orbit/orbit.go 46.80% 25 Missing ⚠️
orbit/pkg/execuser/execuser_linux.go 0.00% 4 Missing ⚠️
server/errorstore/errors.go 66.66% 3 Missing and 1 partial ⚠️
server/contexts/ctxerr/statistics.go 87.50% 2 Missing and 1 partial ⚠️
orbit/pkg/update/nudge.go 0.00% 2 Missing ⚠️
orbit/pkg/execuser/execuser.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23349      +/-   ##
==========================================
+ Coverage   63.09%   63.15%   +0.06%     
==========================================
  Files        1555     1556       +1     
  Lines      147014   147208     +194     
  Branches     3666     3666              
==========================================
+ Hits        92754    92966     +212     
+ Misses      46924    46891      -33     
- Partials     7336     7351      +15     
Flag Coverage Δ
backend 64.00% <71.53%> (+0.06%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@getvictor getvictor marked this pull request as ready for review October 30, 2024 21:35
@getvictor getvictor requested a review from a team as a code owner October 30, 2024 21:35
Copy link
Member

@dantecatalfamo dantecatalfamo left a comment

Choose a reason for hiding this comment

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

😎 👍

@getvictor getvictor merged commit bab0e15 into main Oct 31, 2024
23 checks passed
@getvictor getvictor deleted the victor/19172-orbit-telemetry branch October 31, 2024 19:24
getvictor added a commit that referenced this pull request Oct 31, 2024
Adding telemetry for catching issue #19172

# Docs changes

In another PR: https://github.com/fleetdm/fleet/pull/23423/files

# Demo
<div>
<a href="https://www.loom.com/share/233625875eec46508c26ae315cd52d19">
<p>[Demo] Add telemetry for vital fleetd errors - Issue #23413 - Watch
Video</p>
    </a>
<a href="https://www.loom.com/share/233625875eec46508c26ae315cd52d19">
<img style="max-width:300px;"
src="https://cdn.loom.com/sessions/thumbnails/233625875eec46508c26ae315cd52d19-45ca0ec1b7b5e9e7-full-play.gif">
    </a>
  </div>

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [x] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).

(cherry picked from commit bab0e15)
getvictor added a commit that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants