Commit Graph

412 Commits

Author SHA1 Message Date
Elon Cheng
ea694684a0 Calculating the Number of Logs in opensearch (#5352)
Calculating the Number of Logs

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-11-06 21:03:15 +08:00
zhangpeng
7300405a26 Add switch for notification (#5283)
Signed-off-by: Gentleelephant <birdhk@kubesphere.io>

Signed-off-by: Gentleelephant <birdhk@kubesphere.io>
Co-authored-by: Gentleelephant <birdhk@kubesphere.io>
2022-10-20 17:09:40 +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
Wenhao Zhou
6af86c2cf1 add dynamic options for cache (#4894)
* add dynamic options for cache

* fixed bugs based on unit-test

* add doc for cache

* make cache implements be private

* Change simpleCache name to InMemoryCache

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

* Remove fake cache and replacing to in memory cache with default parameter

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
2022-09-19 16:46:15 +08:00
andrew_li
d3cf418c6e Fix: index out of range when merging two repo indexes (#5146) 2022-08-24 14:08:35 +08:00
Elon Cheng
f741bc7943 intergrate opensearch v1 (#5135)
opensearchv1

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-08-12 19:58:33 +08:00
Xinzhao Xu
2a31867df1 Fix ingress P95 delay time promql statement (#5119) 2022-08-11 15:37:32 +08:00
junot
74e127e1a6 add alerting v2beta1 apis (#5115)
* generate alerting resource client

Signed-off-by: junot <junotxiang@kubesphere.io>

* add alerting v2beta1 apis

Signed-off-by: junot <junotxiang@kubesphere.io>

* tweak some varibles and descs

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-08-04 13:38:41 +08:00
Elon Cheng
7a41af7c0c add opensearch test (#5050)
Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-07-11 23:31:42 +08:00
Elon Cheng
5e2f41f0b9 intergrate opensearch v2 (#5044)
intergrate opensearch

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-07-10 15:14:38 +08:00
hongming
ce7fdddfd5 cleanup: remove useless file (#5020) 2022-07-04 10:08:32 +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
nio
fe992ae53f Replace the Helm command (#4852)
* Replace the helm command line with helm action

* fix log misspelling

* helm wrapper formate log msg

* fix: helm action faild in multi cluster
2022-06-27 16:44:34 +08:00
zhanghaiwen
02e99365c7 add unit test for GetServiceTracing 2022-06-02 14:46:27 +08:00
chengdehao
75803113f6 fix nil pointer
Signed-off-by: chengdehao <dehaocheng@yunify.com>
2022-05-10 23:36:50 +08:00
hongming
7603c74ebb Fix crash caused by resouce discovery failed 2022-04-29 00:03:32 +08:00
KubeSphere CI Bot
5af3f14b2a Merge pull request #4710 from iawia002/cluster-role
Add ClusterRole field in the multicluster option
2022-03-21 10:05:25 +08:00
Xinzhao Xu
0065d0dca3 remove the unused EnableFederation field 2022-03-07 18:32:56 +08:00
Xinzhao Xu
ca4661a686 Add ClusterRole field in the multicluster option 2022-03-07 18:32:04 +08:00
KubeSphere CI Bot
7281996603 Merge pull request #4711 from junotx/proc-monitor
add container processes/threads metrics
2022-03-07 16:31:12 +08:00
KubeSphere CI Bot
19048d52dc Merge pull request #4679 from iawia002/cluster-name
Set the name of the current cluster into the kubesphere-config configmap
2022-03-07 13:22:11 +08:00
junot
b205529bd6 add container processes/threads metrics
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-03-07 11:09:29 +08:00
junot
15e7f36e61 add node device usage metrics
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-03-02 17:41:30 +08:00
Xinzhao Xu
e966a1da6f Set the name of the current cluster into the kubesphere-config configmap 2022-02-24 11:51:23 +08:00
Xinzhao Xu
c53001c5dc Unify the omitempty configuration of YAML annotation 2022-02-23 16:41:51 +08:00
chengdehao
37369334f1 Optimize the error message
Signed-off-by: chengdehao <dehaocheng@yunify.com>
2022-01-25 11:38:51 +08:00
KubeSphere CI Bot
9fbb69faa4 Merge pull request #4478 from zhu733756/convert-kubeedge
Convert compoent  kubeedge to edgeruntime
2022-01-19 18:58:37 +08:00
KubeSphere CI Bot
b9a274b500 Merge pull request #4621 from junotx/upgrade-prom-stack
Adjust metrics query for monitoring components upgrade
2022-01-18 20:13:36 +08:00
zhu733756
600a3de051 convert grafana templates to workspace level
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
2022-01-17 11:02:52 +08:00
zhu733756
b6e960766a support api group edgeruntime.kubesphere.io, deprecate api group kubeedge.kubesphere.io
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
2022-01-14 21:26:48 +08:00
junot
8938b96673 update metrics to fit upgraded monitoring components
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-01-14 17:42:33 +08:00
123liubao
25fbf2cbb7 remove obsolete package pkg/simple/client/mysql
Signed-off-by: 123liubao <chenly_61@163.com>
2021-11-22 15:59:56 +08:00
Roland.Ma
3364551b03 Namespace should not be filterd for Cluster Gateway
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-11-18 03:49:44 +00:00
Roland.Ma
4050e5d388 allow to override docker image in kubesphere config
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-11-03 09:36:40 +00:00
styshoo
a9f28a0805 enable es v7 TrackTotalHits parameter, make sure kubesphere cosole would get correct total number 2021-10-28 18:39:16 +08:00
Roland.Ma
2d066f86d4 use regex query instead of equal
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-10-09 08:35:09 +00:00
LiHui
ad69b08a75 add display fields
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:44:00 +08:00
LiHui
4eb5401f76 calculate the category for the app
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
LiHui
745ca088a7 add built-in repo to dynamiclly load app into app-store
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +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
4b4c6e0f79 add duration parameter
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-09-15 06:54:05 +00:00
KubeSphere CI Bot
8586e36e52 Merge pull request #4224 from yuswift/validate-name
add validation for host cluster name
2021-09-15 10:48:51 +08:00
zhu733756
48f63c3da0 feat: integrate API GPU kinds to group config.kubesphere.io
Signed-off-by: zhu733756 <talonzhu@yunify.com>
2021-09-14 15:53:12 +08: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
yuswift
afca5672d6 add validation for cluster name
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-09-09 15:20:56 +08: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
f10atin9
a82617af5f remove snapshotter v3
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-09-06 18:08:08 +08:00
yuswift
8da8c5deb1 support setting host cluster name
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-09-05 23:26:37 +08:00
zhu733756
4d19d1a0e4 add field description for the API
Signed-off-by: zhu733756 <talonzhu@yunify.com>
2021-09-02 09:32:07 +08:00