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

Client summary #220

Closed
Kennric opened this issue Jan 13, 2017 · 4 comments
Closed

Client summary #220

Kennric opened this issue Jan 13, 2017 · 4 comments

Comments

@Kennric
Copy link
Contributor

Kennric commented Jan 13, 2017

On the client view page, add a table to the top that summarizes all of the billable numbers for that client. Currently these are RamSize, VCPU, and DiskSize for nodes, and the total size in GB (minimum 1GB) for databases.

If the DiskTemplate measurement is 'drbd' on a node, all of the numbers for that node must be multiplied by 2.

Summary
--------------------------------------------------------------------------------------------
  Nodes            Ram (GB)            VCPU            Disk Size (GB)            Project
  ------------------------------------------------------------------------------------------
  node x            4                  2                10                       Project A
  node y            2                  1                5                        Project A

  ------------------------------------------------------------------------------------------
  Databases            Size (GB)             Project
  ------------------------------------------------------------------------------------------
  database x            10                  Project A
  database y            1                   Project B
@alxngyn
Copy link
Contributor

alxngyn commented Jan 13, 2017

shouldn't we just have a column for DBRD? I think multiplying the data by 2 makes it really confusing versus multiplying the rate by 2

@Kennric
Copy link
Contributor Author

Kennric commented Jan 13, 2017

@alxngyn multiplying the measurements is the requested feature, so that's what we're doing. We don't want to multiply -and- indicate drbd, as that could confuse the viewer, who may not know whether the numbers are already multiplied or whether they need to do it. When we have rates in the system, we can change this and do the math there, but for now, we are displaying what will be entered into the invoice.

@Kennric
Copy link
Contributor Author

Kennric commented Jan 19, 2017

Done, as described in this issue, will create new issues for adjustments.

@alxngyn
Copy link
Contributor

alxngyn commented Jan 23, 2017

resolved by #222

@alxngyn alxngyn closed this as completed Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants