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 9629
Build 14181: Cypress tests for swh-web diffsJenkins
Build 14180: tox-on-jenkinsJenkins
Build 14179: arc lint + arc unit

Event Timeline

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/web/common/origin_save.py
356–358

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