satellite: collect hardware stats on satellites

Change-Id: Icc4d9920bb3d23be4d51058237da1baa0e1f3291
This commit is contained in:
JT Olio 2020-07-09 11:21:25 -06:00 committed by JT Olio
parent 885ef70c58
commit cdb0200280
2 changed files with 6 additions and 0 deletions

1
go.mod
View File

@ -16,6 +16,7 @@ require (
github.com/gorilla/mux v1.7.1 github.com/gorilla/mux v1.7.1
github.com/gorilla/schema v1.1.0 github.com/gorilla/schema v1.1.0
github.com/graphql-go/graphql v0.7.9 github.com/graphql-go/graphql v0.7.9
github.com/jtolds/monkit-hw/v2 v2.0.0-20191108235325-141a0da276b3
github.com/lib/pq v1.3.0 github.com/lib/pq v1.3.0
github.com/mattn/go-sqlite3 v2.0.3+incompatible github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/nsf/jsondiff v0.0.0-20160203110537-7de28ed2b6e3 github.com/nsf/jsondiff v0.0.0-20160203110537-7de28ed2b6e3

View File

@ -6,6 +6,7 @@ package satellite
import ( import (
"context" "context"
hw "github.com/jtolds/monkit-hw/v2"
"github.com/spacemonkeygo/monkit/v3" "github.com/spacemonkeygo/monkit/v3"
"storj.io/common/identity" "storj.io/common/identity"
@ -49,6 +50,10 @@ import (
var mon = monkit.Package() var mon = monkit.Package()
func init() {
hw.Register(monkit.Default)
}
// DB is the master database for the satellite // DB is the master database for the satellite
// //
// architecture: Master Database // architecture: Master Database