Skip to content

Commit 1bc763a

Browse files
committed
implement healthcheck supernode gRPC endpoint
1 parent f2cfb1a commit 1bc763a

File tree

11 files changed

+467
-67
lines changed

11 files changed

+467
-67
lines changed

gen/supernode/action/cascade/service.pb.go

Lines changed: 155 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/supernode/action/cascade/service_grpc.pb.go

Lines changed: 41 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ require (
2727
github.com/mattn/go-sqlite3 v1.14.24
2828
github.com/patrickmn/go-cache v2.1.0+incompatible
2929
github.com/pkg/errors v0.9.1
30+
github.com/shirou/gopsutil/v3 v3.24.5
3031
github.com/sirupsen/logrus v1.9.3
3132
github.com/spf13/cobra v1.8.1
3233
github.com/spf13/viper v1.19.0
@@ -95,6 +96,7 @@ require (
9596
github.com/go-kit/kit v0.13.0 // indirect
9697
github.com/go-kit/log v0.2.1 // indirect
9798
github.com/go-logfmt/logfmt v0.6.0 // indirect
99+
github.com/go-ole/go-ole v1.2.6 // indirect
98100
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
99101
github.com/gogo/googleapis v1.4.1 // indirect
100102
github.com/gogo/protobuf v1.3.2 // indirect
@@ -127,6 +129,7 @@ require (
127129
github.com/kr/pretty v0.3.1 // indirect
128130
github.com/kr/text v0.2.0 // indirect
129131
github.com/linxGnu/grocksdb v1.9.8 // indirect
132+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
130133
github.com/magiconair/properties v1.8.7 // indirect
131134
github.com/mattn/go-colorable v0.1.13 // indirect
132135
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -142,6 +145,7 @@ require (
142145
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
143146
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
144147
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
148+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
145149
github.com/prometheus/client_golang v1.20.5 // indirect
146150
github.com/prometheus/client_model v0.6.1 // indirect
147151
github.com/prometheus/common v0.60.1 // indirect
@@ -153,6 +157,7 @@ require (
153157
github.com/sagikazarmark/locafero v0.4.0 // indirect
154158
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
155159
github.com/sasha-s/go-deadlock v0.3.5 // indirect
160+
github.com/shoenig/go-m1cpu v0.1.6 // indirect
156161
github.com/sourcegraph/conc v0.3.0 // indirect
157162
github.com/spf13/afero v1.11.0 // indirect
158163
github.com/spf13/cast v1.7.1 // indirect
@@ -162,7 +167,10 @@ require (
162167
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
163168
github.com/tendermint/go-amino v0.16.0 // indirect
164169
github.com/tidwall/btree v1.7.0 // indirect
170+
github.com/tklauser/go-sysconf v0.3.12 // indirect
171+
github.com/tklauser/numcpus v0.6.1 // indirect
165172
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
173+
github.com/yusufpapurcu/wmi v1.2.4 // indirect
166174
github.com/zondax/hid v0.9.2 // indirect
167175
github.com/zondax/ledger-go v0.14.3 // indirect
168176
go.etcd.io/bbolt v1.4.0-alpha.0.0.20240404170359-43604f3112c5 // indirect

0 commit comments

Comments
 (0)