Page MenuHomeSoftware Heritage

origin_save: Add some statsd monitoring metrics
AbandonedPublic

Authored by anlambert on Dec 9 2019, 4:55 PM.

Details

Reviewers
vlorentz
Group Reviewers
Reviewers
Summary

Add a counter for the number of submitted save requests and a gauge
to keep track of the number of pending requests to review.

Related to T2124

Diff Detail

Repository
rDWAPPS Web applications
Branch
add-save-requests-stats
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9637
Build 14194: Cypress tests for swh-web diffsJenkins
Build 14193: tox-on-jenkinsJenkins
Build 14192: arc lint + arc unit

Event Timeline

anlambert created this revision.Dec 9 2019, 4:55 PM
anlambert updated this revision to Diff 8547.Dec 9 2019, 4:59 PM

Rebase to master in order for the tests to pass

anlambert updated this revision to Diff 8548.Dec 9 2019, 5:00 PM

Remove commit from D2407

vlorentz requested changes to this revision.Dec 10 2019, 3:40 PM
vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/web/common/origin_save.py
357–359

it should be an an else statement, we don't want a counter for pending tasks.

This revision now requires changes to proceed.Dec 10 2019, 3:40 PM
anlambert abandoned this revision.Dec 11 2019, 6:06 PM

Abandon this in favor of D2432