storj/satellite/metabase/rangedloop
Erik van Velzen 1da9fd1eee
satellite/metabase/rangedloop: monkit durations (#5365)
Wire up duration measurement of observers with monkit.

Tested by attaching a SleepObserver, starting the rangedloop in storj-up
and navigating to http://<container>:11111/mon/stats. It reports the
following statistic:

completed-observer-duration,observer=*rangedlooptest.SleepObserver,scope=storj.io/storj/satellite/metabase/rangedloop duration=10.000117

Change-Id: Ief131d34001dd5d3ba1d7be6f161986e1f66440d
2023-01-04 12:16:47 +00:00
..
rangedlooptest satellite/metabase/rangedloop: measure observer duration (#5350) 2022-12-21 21:58:08 +01:00
observer.go satellite/metabase/rangedloop: clarify observer docs 2022-12-07 11:27:35 +00:00
observerstats.go satellite/metabase/rangedloop: monkit durations (#5365) 2023-01-04 12:16:47 +00:00
provider.go satellite/metabase/rangedloop: database abstraction (#5337) 2022-12-09 03:01:07 +01:00
providerdb_test.go satellite/metabase/rangedloop: database abstraction (#5337) 2022-12-09 03:01:07 +01:00
providerdb.go satellite/metabase/rangedloop: database abstraction (#5337) 2022-12-09 03:01:07 +01:00
service_test.go satellite/metabase/rangedloop: measure observer duration (#5350) 2022-12-21 21:58:08 +01:00
service.go satellite/metabase/rangedloop: monkit durations (#5365) 2023-01-04 12:16:47 +00:00
uuid_test.go satellite/metabase/rangedloop: uuid range pairs 2022-11-03 11:15:56 +00:00
uuid.go satellite/metabase/rangedloop: uuid range pairs 2022-11-03 11:15:56 +00:00