-
Notifications
You must be signed in to change notification settings - Fork 10
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
add timeseries models and django scaffold #168
Conversation
8a12a1f
to
9907464
Compare
Codecov Report
Changes have been made to critical files, which contain lines commonly executed in production. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
- Coverage 98.29% 98.23% -0.06%
==========================================
Files 389 386 -3
Lines 29620 28721 -899
==========================================
- Hits 29114 28214 -900
- Misses 506 507 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 46 files with indirect coverage changes
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
- Coverage 98.32% 98.23% -0.09%
==========================================
Files 358 362 +4
Lines 28923 29139 +216
==========================================
+ Hits 28438 28626 +188
- Misses 485 513 +28
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree it doesn't make sense to test settings.py
and manage.py
, the rest LGTM
Codecov Report
@@ Coverage Diff @@
## main #168 +/- ##
==========================================
- Coverage 98.35% 98.26% -0.09%
==========================================
Files 353 357 +4
Lines 27844 28076 +232
==========================================
+ Hits 27386 27590 +204
- Misses 458 486 +28
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
@@ Coverage Diff @@
## main #168 +/- ##
==========================================
- Coverage 98.32% 98.23% -0.09%
==========================================
Files 358 362 +4
Lines 28923 29139 +216
==========================================
+ Hits 28438 28626 +188
- Misses 485 513 +28
Flags with carried forward coverage won't be shown. Click here to find out more.
|
codecov/engineering-team#547
codecov/shared#72
this PR creates a django scaffold in worker which:
shared
(which were copied fromcodecov-api
)pg_telemetry
andts_telemetry
apps to gain access to those modelsdjango.setup()
during worker startupit also introduces a helper
MetricContext
which wrapspg_telemetry
andts_telemetry
so we can log to both until we pick one. and a littleTimeseriesTimer
timer utility as well. it usesTimeseriesTimer
andMetricContext
to log runtimes and success/failure/retry metrics inCodecovBaseTask
. this gives us, for instance, per-repo success rates forupload_task
, or per-owner runtimes forsync_repos_task
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.