storj/satellite/metabase/rangedloop
Andrew Harding c5b5695bca satellite/metabase/rangedloop: clean up observerstats init
Small cleanups of the observer stats init code:
1. Use sync.Once for race free addition to the monitoring chain
   (purely defensive)
2. Set the observer durations before adding to the monitoring chain on
   first use.
3. observerDurations slice does not need to be initialized to non-nil

Change-Id: I9ae8ec96debc7d52c4ee5d22762a89f21bb2e38c
2023-01-13 10:40:30 +00:00
..
rangedlooptest satellite/metabase/rangedloop: cancellation (#5364) 2023-01-05 16:32:30 +01:00
observer.go satellite/metabase/rangedloop: clarify observer docs 2022-12-07 11:27:35 +00:00
observerlivecount.go satellite/metabase/rangedloop: live reporting (#5366) 2023-01-06 09:49:14 +01:00
observerstats.go satellite/metabase/rangedloop: clean up observerstats init 2023-01-13 10:40:30 +00:00
provider.go satellite/metabase/rangedloop: database abstraction (#5337) 2022-12-09 03:01:07 +01:00
providerdb_test.go satellite/metabase/rangedloop: add AsOfSystemTime 2023-01-11 16:22:18 +00:00
providerdb.go satellite/metabase/rangedloop: add AsOfSystemTime 2023-01-11 16:22:18 +00:00
service_test.go satellite/metabase/rangedloop: continue after error (#5430) 2023-01-11 22:23:17 +01:00
service.go satellite/metabase/rangedloop: continue after error (#5430) 2023-01-11 22:23:17 +01: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