Skip to content

feat(starfish): Map device class back to the correct labels#58246

Merged
wmak merged 5 commits into
masterfrom
wmak/feat/map-device-class-to-labels
Oct 19, 2023
Merged

feat(starfish): Map device class back to the correct labels#58246
wmak merged 5 commits into
masterfrom
wmak/feat/map-device-class-to-labels

Conversation

@wmak

@wmak wmak commented Oct 17, 2023

Copy link
Copy Markdown
Member
  • The device.class field is stored as string numbers (1,2,3) that map back to a label (low,mid,high) this is so that we can keep the labels updated even as devices become outdated as time progresses

- The device.class field is stored as string numbers (1,2,3) that map
  back to a label (low,mid,high) this is so that we can keep the labels
  updated even as devices become outdated as time progresses
@wmak wmak requested review from a team October 17, 2023 15:15
@wmak wmak requested a review from a team as a code owner October 17, 2023 15:15
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 17, 2023

@shruthilayaj shruthilayaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, can you add this to spansIndexed too?

@shruthilayaj

Copy link
Copy Markdown
Member

Oh and we need it for transaction metrics too!

@codecov

codecov Bot commented Oct 18, 2023

Copy link
Copy Markdown

Codecov Report

Merging #58246 (25127e9) into master (4072dfd) will increase coverage by 0.48%.
Report is 7 commits behind head on master.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master   #58246      +/-   ##
==========================================
+ Coverage   78.62%   79.10%   +0.48%     
==========================================
  Files        5142     5143       +1     
  Lines      224102   224125      +23     
  Branches    37735    37743       +8     
==========================================
+ Hits       176201   177305    +1104     
+ Misses      42171    41134    -1037     
+ Partials     5730     5686      -44     
Files Coverage Δ
src/sentry/search/events/datasets/metrics.py 56.42% <ø> (-0.56%) ⬇️
src/sentry/search/events/datasets/spans_indexed.py 49.05% <ø> (ø)
src/sentry/search/events/datasets/spans_metrics.py 46.55% <100.00%> (-1.73%) ⬇️
...rc/sentry/search/events/datasets/filter_aliases.py 62.13% <33.33%> (-2.15%) ⬇️
src/sentry/search/events/datasets/field_aliases.py 60.78% <25.00%> (-6.66%) ⬇️

... and 129 files with indirect coverage changes

@wmak wmak merged commit 1d59ce0 into master Oct 19, 2023
@wmak wmak deleted the wmak/feat/map-device-class-to-labels branch October 19, 2023 16:29
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants