storj/satellite/repair
Cameron Ayer 2ac72eaf16 satellite/repair/checker: add new monkit stats tagged with rs scheme
There is a new checker field called statsCollector. This contains
a map of stats pointers where the key is a stringified redundancy
scheme. stats contains all tagged monkit metrics. These metrics exist
under the key name, "tagged_repair_stats", which is tagged with the
name of each metric and a corresponding rs scheme.

As the metainfo observer works on a segment, it checks statsCollector
for a stats corresponding to the segment's redundancy scheme. If one
doesn't exist, it is created and chained to the monkit scope. Now we can call
Observe, Inc, etc on the fields just like before, and they have tags!

durabilityStats has also been renamed to aggregateStats.

At the end of the metainfo loop, we insert the aggregateStats totals into the
corresponding stats fields for metric reporting.

Change-Id: I8aa1918351d246a8ef818b9712ed4cb39d1ea9c6
2020-12-15 14:08:01 +00:00
..
checker satellite/repair/checker: add new monkit stats tagged with rs scheme 2020-12-15 14:08:01 +00:00
irreparable all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
queue satellite/repair: improve contention for injuredsegments table on CRDB 2020-12-10 09:51:26 -08:00
repairer all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
priority_test.go satellite/{satellitedb, repair/{queue, checker}}: Use new column "segmentHealth" instead of "numHealthy" in injured segments queue 2020-11-16 21:18:09 +00:00
priority.go satellite/repair: add a repair health function 2020-11-11 18:48:51 +00:00
repair_test.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00