Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

告警详情中,监控目标数量两处不一致 #61

Closed
huanggze opened this issue Dec 25, 2019 · 3 comments
Closed

告警详情中,监控目标数量两处不一致 #61

huanggze opened this issue Dec 25, 2019 · 3 comments
Assignees

Comments

@huanggze
Copy link
Member

@huanggze huanggze commented Dec 25, 2019

General remarks

Please delete this section including header before submitting
也可以使用中文

This form is to report bugs. For general usage questions refer to our Slack channel
KubeSphere-users

Describe the bug(描述下问题)
A clear and concise description of what the bug is.

For UI issues please also add a screenshot that shows the issue.

这一处来源于告警模块:
image

这一处来源于 resource kapi:
image

应以后者为准。建议是前面的屏蔽监控目标一列?或者用 resource kapi 替换?

这是个workaround,本质原因来源于监控算法(算法是正确的,只是不能做到 null 数据时返回0),导致告警模块返回的数量不正确。

Versions used(KubeSphere/Kubernetes的版本)
KubeSphere:
Kubernetes: (If KubeSphere installer used, you can skip this)

Environment(环境的硬件配置)
How many nodes and their hardware configuration:

For example:
3 masters: 8cpu/8g
3 nodes: 8cpu/16g

(and other info are welcomed to help us debugging)

To Reproduce(复现步骤)
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior(预期行为)
A clear and concise description of what you expected to happen.

@huanggze

This comment has been minimized.

Copy link
Member Author

@huanggze huanggze commented Dec 25, 2019

/bug
/assign @Carlosfengv @justahole
/milestone 2.1.1

@ks-ci-bot ks-ci-bot added this to the 2.1.1 milestone Dec 25, 2019
@huanggze

This comment has been minimized.

Copy link
Member Author

@huanggze huanggze commented Dec 25, 2019

/assign @Ma-Dan

@huanggze

This comment has been minimized.

Copy link
Member Author

@huanggze huanggze commented Feb 17, 2020

verified

@huanggze huanggze closed this Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.