hongzhouzi
44167aa47a
Upgrade k8s package verison ( #5358 )
...
* upgrade k8s package version
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
* Script upgrade and code formatting.
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
2022-11-15 14:56:38 +08:00
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
hongming
521cb40c21
Upgrade go version to 1.18 ( #5045 )
...
* Upgrade go version to 1.18
* fix go 1.18 compatibility
* update gofmt
* ignore golangci-lint staticcheck
* update gofmt
2022-07-18 10:42:48 +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
mango
f018a23023
chore: add licenses check tools ( #4706 )
...
* feat: check licenses header with skywalking-eye and support check tools.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* feat: check licenses header with skywalking-eye and support check tools.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* feat: check licenses header with skywalking-eye and support check tools.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* remove verify-licenses because verify-all exist.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* update modules.txt
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* revert go.mod
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* update vendor directory.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* revert go.sum
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* revert go.sum
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* ignore `pkg/controller/application/status.go`
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
* add license header.
Signed-off-by: mango <xu.weiKyrie@foxmail.com >
2022-03-09 10:25:13 +08:00
junot
b205529bd6
add container processes/threads metrics
...
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-03-07 11:09:29 +08:00
KubeSphere CI Bot
2e596d5340
Merge pull request #4705 from junotx/device-monitor
...
add node device usage metrics
2022-03-04 14:52:44 +08:00
junot
15e7f36e61
add node device usage metrics
...
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-03-02 17:41:30 +08:00
larryliuqing
615298c530
correct the variable name
2022-02-25 11:30:40 +08:00
larryliuqing
29d2858215
Fix the "index out of range" issue when sort metrics
2022-02-25 11:11:46 +08:00
KubeSphere CI Bot
511d0d02ff
Merge pull request #4227 from RolandMa1986/feat-gateway-matrics
...
feat: ingress metrics query apis
2021-09-16 22:30:52 +08:00
Roland.Ma
19ac4bc2b0
cpu and memory matric
...
Signed-off-by: Roland.Ma <rolandma@kubesphere.io >
2021-09-15 09:01:59 +00:00
Roland.Ma
1ee5e49ac0
feat: ingress metrics query apis
...
Signed-off-by: Roland.Ma <rolandma@yunify.com >
2021-09-10 02:13:22 +00:00
junot
c1dfd9937b
add etcd_server_is_leader metric to query
...
Signed-off-by: junot <junotxiang@yunify.com >
2021-09-09 11:37:40 +08:00
x893675
f29a5488a8
Fix kubesphere_app_template_count always be 0 when GetKubeSphereStats
...
Signed-off-by: x893675 <x893675@icloud.com >
2021-08-06 09:50:26 +00:00
yuswift
e9695cba4c
fix spelling typo
...
Signed-off-by: yuswift <yuswift2018@gmail.com >
2021-07-15 11:06:07 +08:00
yuswift
cd30e6eba5
update gofmt
...
Signed-off-by: yuswift <yuswift2018@gmail.com >
2021-07-15 10:13:04 +08:00
Roland.Ma
c37a11c5f9
move api to staging
...
Signed-off-by: Roland.Ma <rolandma@yunify.com >
2021-04-29 08:20:05 +00:00
Rao Yunkun
ab86f606a8
Update UT.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-04-20 10:02:46 +08:00
Rao Yunkun
5904e2e9be
Remove metering ConfigMap dependency.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-04-19 17:36:01 +08:00
Rao Yunkun
6952cf218f
Update Unit Test.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-04-17 09:39:31 +08:00
Rao Yunkun
129ae3d6ee
Keep 3 decimal places for metering fee value.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-04-16 17:34:43 +08:00
zhu733756
f49a9c1620
fix bug for node metrics on overview page
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-04-13 15:46:22 +08:00
Rao Yunkun
836b279fee
Update metering UT.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-03-31 22:04:17 +08:00
Rao Yunkun
845f6bbe89
Intergate OpenPitrix metrics into metering.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-03-30 18:13:18 +08:00
Rao Yunkun
d08e402384
Integate metering module and support metering data csv format export.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-03-30 15:46:16 +08:00
zryfish
ac275b6e98
add goimports format action ( #3630 )
...
Signed-off-by: Jeff <jeffzhang@yunify.com >
2021-03-30 13:44:24 +08:00
zhu733756
78a97fea05
fix variable naming errors
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-03-26 11:18:47 +08:00
zhu733756
5b3bced5d7
Request edge metrics only if prometheus metrics data is empty
...
Signed-off-by: zhu733756 <talonzhu@yunify.com >
2021-03-26 10:30:18 +08:00
LiHui
83e6221f3a
openpitrix crd
...
Signed-off-by: LiHui <andrewli@yunify.com >
delete helm repo, release and app
Signed-off-by: LiHui <andrewli@yunify.com >
Fix Dockerfile
Signed-off-by: LiHui <andrewli@yunify.com >
add unit test for category controller
Signed-off-by: LiHui <andrewli@yunify.com >
resource api
Signed-off-by: LiHui <andrewli@yunify.com >
miscellaneous
Signed-off-by: LiHui <andrewli@yunify.com >
resource api
Signed-off-by: LiHui <andrewli@yunify.com >
add s3 repo indx
Signed-off-by: LiHui <andrewli@yunify.com >
attachment api
Signed-off-by: LiHui <andrewli@yunify.com >
repo controller test
Signed-off-by: LiHui <andrewli@yunify.com >
application controller test
Signed-off-by: LiHui <andrewli@yunify.com >
release metric
Signed-off-by: LiHui <andrewli@yunify.com >
helm release controller test
Signed-off-by: LiHui <andrewli@yunify.com >
move constants to /pkg/apis/application
Signed-off-by: LiHui <andrewli@yunify.com >
remove unused code
Signed-off-by: LiHui <andrewli@yunify.com >
add license header
Signed-off-by: LiHui <andrewli@yunify.com >
Fix bugs
Signed-off-by: LiHui <andrewli@yunify.com >
cluster cluent
Signed-off-by: LiHui <andrewli@yunify.com >
format code
Signed-off-by: LiHui <andrewli@yunify.com >
move workspace,cluster from spec to labels
Signed-off-by: LiHui <andrewli@yunify.com >
add license header
Signed-off-by: LiHui <andrewli@yunify.com >
openpitrix test
Signed-off-by: LiHui <andrewli@yunify.com >
add worksapce labels for app in appstore
Signed-off-by: LiHui <andrewli@yunify.com >
2021-03-09 18:30:02 +08:00
Rao Yunkun
5bddda51e7
Change metering exported format to csv.
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2021-03-02 11:56:08 +08:00
yunkunrao
e9073f0486
Add metering api.
...
Signed-off-by: yunkunrao <yunkunrao@yunify.com >
2021-02-22 14:31:10 +08:00
Roland.Ma
dc9f0ed4cf
fix workspace member count
...
Signed-off-by: Roland.Ma <rolandma@yunify.com >
2021-02-03 06:38:30 +00: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
hongming
fe6c5de00f
update dependencies
...
Signed-off-by: hongming <talonwan@yunify.com >
2021-01-04 15:35:32 +08:00
junotx
933d0b5571
custom monitoring with cluster level
...
Signed-off-by: junotx <junotx@126.com >
2020-12-10 17:16:38 +08:00
zackzhangkai
745ede8519
upgrade prometheus client-go
...
Signed-off-by: zackzhangkai <zackzhang@yunify.com >
2020-11-17 18:13:43 +08:00
KubeSphere CI Bot
1b0bcb5d63
Merge pull request #3069 from huanggze/master
...
minor cleanup
2020-11-06 17:49:38 +08:00
huanggze
10fedfe432
minor cleanup
...
Signed-off-by: huanggze <loganhuang@yunify.com >
2020-11-03 11:58:16 +08:00
Rao Yunkun
97b054d99d
Add node metric: node_pleg_quantile
...
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com >
2020-10-06 20:06:27 +08:00
zryfish
dbc33fe5d2
add license header ( #2761 )
...
Signed-off-by: Jeff <zw0948@gmail.com >
2020-08-05 15:54:17 +08:00
Guangzhe Huang
1fcb5116df
update comment
2020-06-19 16:55:39 +08:00
zryfish
9b16c0589c
fix openpitrix return non nil client when enpoint is empty ( #2165 )
2020-06-07 20:00:27 +08:00
huanggze
0e83717914
monitor: fix platform-level statistics
...
Signed-off-by: huanggze <loganhuang@yunify.com >
2020-05-27 13:58:07 +08:00
hongming
85b61dce7c
copyright license update
...
Signed-off-by: hongming <talonwan@yunify.com >
2020-05-25 14:51:24 +08:00
huanggze
5c695a1c90
monitor: add platform metrics
...
Signed-off-by: huanggze <loganhuang@yunify.com >
2020-05-23 15:09:20 +08:00
huanggze
14069b95f2
monitoring: fix metric value NaN
...
Signed-off-by: huanggze <loganhuang@yunify.com >
2020-05-18 22:30:36 +08:00
KubeSphere CI Bot
f0749ac442
Merge pull request #2076 from huanggze/custom-monitoring
...
api: list metric labels and values
2020-05-15 19:52:32 +08:00
huanggze
8b913abd61
api: list metric labels and values
...
Signed-off-by: huanggze <loganhuang@yunify.com >
2020-05-15 19:22:23 +08:00