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

disable user-agent prometheus label to decrease load #521

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

matt-codecov
Copy link
Contributor

@matt-codecov matt-codecov commented Apr 23, 2024

re-enable in codecov/engineering-team#1654

apparently this label was bringing down prometheus so we are nuking it for now. there are so many distinct UAs that prometheus suffers from a combinatorial explosion of possible label combinations

the skeleton daniel set up to add/test this custom label is still good, just gotta tweak the actual value of the label to scrub some of the minutiae from it

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.

@matt-codecov matt-codecov requested review from daniel-codecov and a team April 23, 2024 20:18
Copy link
Contributor

@rfox-codecov rfox-codecov left a comment

Choose a reason for hiding this comment

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

looks largely appropriate to me

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found ☺️

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.77%. Comparing base (2b7993c) to head (d3a74b0).

✅ All tests successful. No failed tests found ☺️

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #521   +/-   ##
=====================================
  Coverage   95.77   95.77           
=====================================
  Files        774     774           
  Lines      17054   17049    -5     
=====================================
- Hits       16332   16327    -5     
  Misses       722     722           
Flag Coverage Δ
unit 91.44% <ø> (-0.01%) ⬇️
unit-latest-uploader 91.44% <ø> (-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-qa
Copy link

codecov-qa bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.44%. Comparing base (2b7993c) to head (d3a74b0).

✅ All tests successful. No failed tests found ☺️

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   91.44%   91.44%   -0.01%     
==========================================
  Files         599      599              
  Lines       16198    16193       -5     
==========================================
- Hits        14813    14808       -5     
  Misses       1385     1385              
Flag Coverage Δ
unit 91.44% <ø> (-0.01%) ⬇️
unit-latest-uploader 91.44% <ø> (-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.

@matt-codecov matt-codecov added this pull request to the merge queue Apr 23, 2024
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.44%. Comparing base (2b7993c) to head (d3a74b0).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   91.44%   91.44%   -0.01%     
==========================================
  Files         599      599              
  Lines       16198    16193       -5     
==========================================
- Hits        14813    14808       -5     
  Misses       1385     1385              
Flag Coverage Δ
unit 91.44% <ø> (-0.01%) ⬇️
unit-latest-uploader 91.44% <ø> (-0.01%) ⬇️

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

Files Coverage Δ
core/middleware.py 100.00% <ø> (ø)

Impacted file tree graph

Merged via the queue into main with commit 52ac5d9 Apr 23, 2024
22 checks passed
@matt-codecov matt-codecov deleted the matt/disable-user-agent-label branch April 23, 2024 21:40
@daniel-codecov
Copy link
Contributor

hmm, not sure what a cheaper solution would look like

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

4 participants