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

[ezpz] metrics: add bigger bucket sizes for a couple prometheus histograms #178

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

matt-codecov
Copy link
Contributor

the median time_in_queue value is very frequently higher than 10. since there's no bucket higher than that, promql just returns 10 when querying the median so the metric is not useful

the p95 notification_latency is often more than 900 seconds. the metric is still useful despite that, but may as well add bigger buckets

see the problem + watch for the solution in some of the graphs here https://l.codecov.dev/rVDScT (internal only)

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.

@codecov-staging
Copy link

codecov-staging bot commented Nov 8, 2023

Codecov Report

Merging #178 (7d19d5c) into main (d78f831) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #178   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         350      350           
  Lines       27700    27700           
=======================================
  Hits        27253    27253           
  Misses        447      447           
Flag Coverage Δ
integration 98.38% <ø> (ø)
latest-uploader-overall 98.38% <ø> (ø)
unit 98.38% <ø> (ø)

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

Components Coverage Δ
NonTestCode 96.88% <ø> (ø)
OutsideTasks 98.17% <ø> (ø)
Files Coverage Δ
helpers/checkpoint_logger/__init__.py 94.59% <ø> (ø)
tasks/base.py 98.56% <ø> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Nov 8, 2023

Codecov Report

Merging #178 (7d19d5c) into main (d78f831) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #178   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         350      350           
  Lines       27700    27700           
=======================================
  Hits        27253    27253           
  Misses        447      447           
Flag Coverage Δ
integration 98.38% <ø> (ø)
latest-uploader-overall 98.38% <ø> (ø)
unit 98.38% <ø> (ø)

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

Components Coverage Δ
NonTestCode 96.88% <ø> (ø)
OutsideTasks 98.17% <ø> (ø)
Files Coverage Δ
helpers/checkpoint_logger/__init__.py 94.59% <ø> (ø)
tasks/base.py 98.56% <ø> (ø)

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #178 (7d19d5c) into main (d78f831) will not change coverage.
The diff coverage is n/a.

Changes have been made to critical files, which contain lines commonly executed in production. Learn more

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #178   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files         376      376           
  Lines       28196    28196           
=======================================
  Hits        27730    27730           
  Misses        466      466           
Flag Coverage Δ
integration 98.38% <ø> (ø)
latest-uploader-overall 98.38% <ø> (ø)
unit 98.38% <ø> (ø)

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

Components Coverage Δ
NonTestCode 96.77% <ø> (ø)
OutsideTasks 98.17% <ø> (ø)
Files Coverage Δ
helpers/checkpoint_logger/__init__.py Critical 94.65% <ø> (ø)
tasks/base.py Critical 98.56% <ø> (ø)

This change has been scanned for critical changes. Learn more

@matt-codecov matt-codecov merged commit d410085 into main Nov 9, 2023
23 of 24 checks passed
@matt-codecov matt-codecov deleted the matt/add-bigger-metric-buckets branch November 9, 2023 16:07
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.

2 participants