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

Add "last day" in Stats #4160

Closed
Arraylistlistlist opened this issue Apr 25, 2019 · 3 comments · Fixed by #4168
Closed

Add "last day" in Stats #4160

Arraylistlistlist opened this issue Apr 25, 2019 · 3 comments · Fixed by #4168

Comments

@Arraylistlistlist
Copy link

Context

  • XO origin: XO Appliance
  • Versions:
    • Node: 8.11.3
    • xo-web: 5.38.0
    • xo-server: 5.38.2

This is not an issue, just a nice to have.

Expected behavior

When viewing stats of a VM or host, it would be nice to be able to select "last day" in addition to the current possibilities.

Current behavior

Currently one can select last 10 minutes, last 2 hours, last week, last year.

@olivierlambert
Copy link
Member

Hi,

It's not "directly" possible because how XAPI RRDs are exposed: https://xenserver.org/partners/developing-products-for-xenserver/18-sdk-development/96-xs-dev-rrds.html

IDK how hard it would be to make our own "division" on top of XAPI.

@olivierlambert
Copy link
Member

Also re-linking to an duplicate but closed issue on that topic: #1223

@badrAZ IDK if it's doable now, so you can take a look when you can.

@badrAZ
Copy link
Contributor

badrAZ commented Apr 29, 2019

@olivierlambert Its doable, when we ask the XAPI RRDs for the last week stats we get them per hours. So, we can show the last 24 h stats for the last day granularity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment