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

chore: fix label-analysis metrics placement #201

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

giovanni-guidini
Copy link
Contributor

The count for label analysis only fires after validation.
So that is the total number of valid label analysis requests.

The actual total number of requets that we receive need to be fired
before the payload validation.

Purpose/Motivation

What is the feature? Why is this being done?

Links to relevant tickets

What does this PR do?

Include a brief description of the changes in this PR. Bullet points are your friend.

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

The count for label analysis only fires after validation.
So that is the total number of _valid_ label analysis requests.

The actual total number of requets that we receive need to be fired
_before_ the payload validation.
@codecov-staging
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@codecov-qa
Copy link

codecov-qa bot commented Oct 19, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (da8b416) 95.61% compared to head (4661e42) 95.61%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #201   +/-   ##
=======================================
  Coverage   95.61%   95.61%           
=======================================
  Files         600      600           
  Lines       15221    15222    +1     
=======================================
+ Hits        14554    14555    +1     
  Misses        667      667           
Flag Coverage Δ
unit 95.61% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 95.61% <100.00%> (+<0.01%) ⬆️

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.

@codecov-public-qa
Copy link

codecov-public-qa bot commented Oct 19, 2023

Codecov Report

Merging #201 (4661e42) into main (da8b416) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #201   +/-   ##
=======================================
  Coverage   95.61%   95.61%           
=======================================
  Files         600      600           
  Lines       15221    15222    +1     
=======================================
+ Hits        14554    14555    +1     
  Misses        667      667           
Flag Coverage Δ
unit 95.61% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 95.61% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
labelanalysis/serializers.py 100.00% <100.00%> (ø)

Impacted file tree graph

Copy link
Contributor

@matt-codecov matt-codecov 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! maybe name the first one label_analysis_request.total.count but doesn't matter much

@giovanni-guidini giovanni-guidini merged commit 0e53c76 into main Oct 19, 2023
18 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/move-label-analysis-metrics branch October 19, 2023 16:36
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.

None yet

2 participants