storj/satellite/repair/checker
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_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
checker.go satellite/repair/checker: add new monkit stats tagged with rs scheme 2020-12-15 14:08:01 +00:00
checkerstats.go satellite/repair/checker: add new monkit stats tagged with rs scheme 2020-12-15 14:08:01 +00:00
config.go satellite/repair/checker: add new monkit stats tagged with rs scheme 2020-12-15 14:08:01 +00:00
online_test.go common: separate repository 2019-12-27 14:11:15 +02:00
online.go all: fix dots 2020-07-16 14:58:28 +00:00
override_test.go satellite/repair: Update repair override config to support multiple RS schemes. 2020-11-23 18:01:15 +00:00