Commit Graph
102 Commits
Author SHA1 Message Date
屈轩 226688d3db fix(region): history usage (#18216) 2023-10-12 16:30:44 +08:00
Jian QiuandQiu Jian 9ec43642da fix: storage usaged capacity by medium_type revisit (#17877)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-01 15:33:11 +08:00
Qiu Jian 0533131185 fix: usage handler nil check revisit 2023-05-08 20:39:52 +08:00
Qiu Jian 4687c60875 fix: domain tag filter not working 2023-05-07 12:49:00 +08:00
Qiu Jian ccb79efd23 fix: usage filter by policy tags revisit2 2023-02-14 09:19:22 +08:00
ioito 178903e25a fix(region): usage with policy tags 2023-02-02 16:34:26 +08:00
Qiu Jian ca04fcd0de fix: usage filter by policy tags 2023-01-30 21:52:17 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
屈轩 9804fbaf7a fix(region): usage for host storage (#15619) 2022-12-27 01:20:42 +08:00
mhf 389ddfd995 添加mongodb最大链接数、所用磁盘占比等、、、 2022-08-24 17:39:30 +08:00
Sjhuandchenxiaochen 9d0721abf6 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 (#14396)
guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL)

Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:10:32 +08:00
ioito 72e5c303e0 fix(region): cpu float to int 2022-03-25 11:29:51 +08:00
屈轩 142b36bbd0 fix(region): project tags filter for usages (#13471) 2022-02-26 14:28:04 +08:00
Qiu Jian 8dbf972f17 fix: usages should be filered by policy tags 2022-01-18 02:45:49 +08:00
ioito be997f90df fix(region): add eip and disk usage 2021-12-16 16:34:40 +08:00
Qiu Jian 1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qu Xuan 1046213b33 fix(region): usage for domain isolated dev 2021-09-26 14:43:17 +08:00
Qu Xuan ca7989c76d fix(region): kafka usage 2021-07-19 15:38:07 +08:00
Qu Xuan d725cf0597 feat(region): add kafka sync 2021-07-19 14:40:45 +08:00
Qu Xuan 021f5d9241 feat(region): support elasticsearch sync 2021-07-12 09:48:54 +08:00
Qu Xuan 69a6aedf17 feat(region): add mongodb 2021-07-05 16:49:48 +08:00
Qiu Jian 86c282c0a4 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:47:21 +08:00
Qiu Jian 8dff784225 response scope-specific metrics 2021-04-04 20:04:19 +08:00
Qiu Jian 82d2604d79 fix(region): add usage cache, speedup response 2021-04-03 07:47:20 +08:00
Qiu Jian e76a84a01b fix(region): add more usage metrics, e.g. ports.eip, servers.last_week,
pending_delete_servers.last_week
2021-03-31 03:36:30 +08:00
Qiu Jian a2ff5b38ce fix(region): network eip stats not correct 2021-03-09 02:45:08 +08:00
Yousong Zhou 79a4f27ec5 region: usages: add [{all,domain}.]networks etc. 2021-02-02 16:07:03 +08:00
Yousong Zhou aa60527b8d region: usages: fix field name of vpcs for system scope 2021-02-02 16:07:02 +08:00
rainzm d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
Qiu Jian bc5c74b1bd fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:23:05 +08:00
wanyaoqi 0b11854a8b usage: host show isolated dev reserved memory 2020-11-10 16:03:13 +08:00
Qiu Jian ce06e078f0 fix: server usage status not correct 2020-10-25 08:34:51 +08:00
Qu Xuan d7ae0eaa8d fix: add rds cpu and memory usage 2020-10-19 11:22:06 +08:00
Qu Xuan f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
Jian QiuandQiu Jian 7336ff732c fix: cleanup logic for nics of pending_deleted guests (#7668)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:32:34 +08:00
Yousong Zhou c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
wanyaoqi 29c0e53849 fix usage not set prefix (#7568) 2020-08-14 17:31:48 +08:00
wanyaoqi 54ff56c04e usage report reserved memory (#7525) 2020-08-10 15:40:43 +08:00
wanyaoqi fabd3577a1 include system usage 2020-06-28 18:17:02 +08:00
Qiu Jian 1dfef4dcfa fix: usage for schetag not accurate 2020-05-21 22:35:38 +08:00
wanyaoqi 844b865e2e add sys usage 2020-05-20 14:01:58 +08:00
Qu Xuan d66197068d fix: usage-handler 不统计虚拟的vpc wire 2020-04-29 15:58:03 +08:00
Qiu Jian f39f838166 fix: cloud-account-usage vpc/storage not accurate 2020-04-29 01:14:29 +08:00
Qiu Jian 8d7bc247c9 fix: cloudaccount usage region/zone count not accurate 2020-04-27 15:52:47 +08:00
Qiu Jian 912bf5c699 fix: cloud-account/provider usage not accurate 2020-04-27 02:10:23 +08:00
Qiu Jian 5536dda530 fix: add domain-level compute resource usage 2020-04-06 18:07:14 +08:00
Qiu Jian 9b0e464c1f fix: misc bugs in usage data 2020-04-04 23:11:09 +08:00
Zexi Li 9e9dcac496 Merge pull request #5684 from swordqiu/feature/qj-domain-level-quotas
feature: domain resource quota
2020-04-03 19:44:56 +08:00
Qiu Jian d1346771aa feature: domain resource quota 2020-04-03 02:03:55 +08:00
Qiu Jian 02671840b5 fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:40:38 +08:00