Eng Zer Jun
d1fec72a32
refactor: move from io/ioutil to io and os packages ( #5266 )
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-10-18 15:47:38 +08:00
andrew_li
f289795312
Add golangci-lint workflow ( #4999 )
...
* fix lint workflow
* add golang lint
* close http response body
2022-06-29 11:58:36 +08:00
yuswift
cd30e6eba5
update gofmt
...
Signed-off-by: yuswift <yuswift2018@gmail.com >
2021-07-15 10:13:04 +08:00
zhu733756
c3cf47a6a6
fix bug that edge metrcis test run failed
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-04-15 10:00:17 +08:00
zhu733756
f6dd42f494
fix-bug-for-pod-metrics-on-edge-node
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-04-09 13:01:32 +08:00
zhu733756
96d60da98e
add pod level metrics for edge node
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-03-31 11:54:33 +08:00
zryfish
ac275b6e98
add goimports format action ( #3630 )
...
Signed-off-by: Jeff <jeffzhang@yunify.com >
2021-03-30 13:44:24 +08:00
yunkunrao
e9073f0486
Add metering api.
...
Signed-off-by: yunkunrao <yunkunrao@yunify.com >
2021-02-22 14:31:10 +08:00
root
3095fd9403
Add test code to metrics client, and fix metrics items process
...
Signed-off-by: root <danma@yunify.com >
2021-01-26 08:30:41 +00:00
root
8c86c9e1a5
Add metrics-server client to monitoring
...
Signed-off-by: root <danma@yunify.com >
2021-01-25 07:10:41 +00:00