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

登录首页概览页面重构 #348

Merged
merged 21 commits into from
Dec 12, 2016
Merged

登录首页概览页面重构 #348

merged 21 commits into from
Dec 12, 2016

Conversation

LuPan2015
Copy link
Collaborator

@LuPan2015 LuPan2015 commented Dec 1, 2016

Fixed #333

注意: 改功能的图表目前只联调了HDFS和用户管理。其余的指标依赖其他服务的API开发完成方可测试完成。该功能的所有的代码都提交到这个PR所关联的分支( fix-333 )。

指标及完成情况如下:

  • HDFS:
    • DataNode状态指标
    • HDFS分享指标
    • HDFS 使用率
  • Codis:
    • Codis 集群
    • Codis使用率
  • K8S:
    • Pod个数
    • RC个数
    • Serivce个数
    • Node个数
  • Openstack
    • 虚拟机状态
    • 镜像个数
    • 云硬盘个数
  • 用户管理
    • 成员个数

展示如下:
image

@qqzxingchen
Copy link
Contributor

qqzxingchen commented Dec 9, 2016

已经测试通过
对于与openstack无关的用户,在Overview页面上的请求返回500错误的情况,暂时先不做处理。之后将会把用户、space、服务之间的相互关联,并在页面上进行限制。

total = round(total, 2)
used = round(used/math.pow(1024, index), 2)
print total
print used
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要么去掉,要么logger

@LuPan2015
Copy link
Collaborator Author

已经去掉了

@qqzxingchen
Copy link
Contributor

LGTM

1 similar comment
@zd1990
Copy link
Contributor

zd1990 commented Dec 12, 2016

LGTM

@qqzxingchen qqzxingchen merged commit b1df56e into dev Dec 12, 2016
@qqzxingchen qqzxingchen deleted the fix-333 branch December 12, 2016 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

登录后的概览页面需要美化
4 participants