Re: [RFC] Metrics views for CloudStack UI

2015-11-13 Thread Osay Osman Yuuni
@Rohit, great job.  Looks cool as well as fulfills long overdue feature.
Kudos!

Osay

On 13 November 2015 at 00:20, Nux!  wrote:

> Marcus,
>
> Thanks for the explanation.
> In my setup I chose to completely ignore this Ghz thing which may turn up
> to be a mistake.
> I am using the same number for Mhz as for the # of CPU cores, e.g.
> CPU (in MHz)1 MHz
>
> I was just concerned with the CPU weight thingy, but this should work just
> as well.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Marcus" 
> > To: d...@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Sent: Thursday, 12 November, 2015 16:13:34
> > Subject: Re: [RFC] Metrics views for CloudStack UI
>
> > Hi Nux,
> >   The thing about ghz is that it is the unit of capacity for CPU, VMs are
> > allocated to hosts according to the number of "cycles" it has.  As a
> > customer, I agree, core count is more important. As an admin, if you
> have a
> > single host in a cluster that is using much more CPU than the others and
> > want to try to balance, the ghz number for the VM can tell you 1) which
> VMs
> > on a host are the 'biggest' when cgroup throttling kicks in, that is, how
> > much of the host CPU share a VM will get, and 2) if that VM will fit on
> > another host - the old UI helps you know which hosts don't have capacity
> > for a migration, but it doesn't tell you how full each host is and
> doesn't
> > give you this data to know how full you'll make a host if you migrate.
> >
> >Many people will want these metrics to go into a time series system
> and
> > use something like the graphite publisher instead, as that will give
> better
> > visibility into what's going on over time, but this seems like a good
> > out-of-the-box solution to expose the data we already have buried in the
> UI.
> >
> > On Thu, Nov 5, 2015 at 9:35 AM, Nux!  wrote:
> >
> >> Great work Rohit,
> >>
> >> What I'd like to see:
> >> - vCPU list/count for instance metrics (GHz is meaningless to me)
> >> - can we make the whole thing wider so we can fit more columns there
> >> without that ugly horizontal scroll bar? So much wasted screen space
> >>
> >> --
> >> Sent from the Delta quadrant using Borg technology!
> >>
> >> Nux!
> >> www.nux.ro
> >>
> >> - Original Message -
> >> > From: "Rohit Yadav" 
> >> > To: d...@cloudstack.apache.org
> >> > Cc: users@cloudstack.apache.org
> >> > Sent: Thursday, 5 November, 2015 14:09:14
> >> > Subject: [RFC] Metrics views for CloudStack UI
> >>
> >> > Hi all,
> >> >
> >> > The present CloudStack UI hides most of the metrics data such as cpu,
> >> memory,
> >> > disk, network usage in inner detail views. Such information is
> critical
> >> to find
> >> > issues in one’s cloud, for example finding clusters where hosts are
> >> failing, or
> >> > finding storage pools where disk space has depleted beyond configured
> >> global or
> >> > cluster thresholds.
> >> >
> >> > The metrics views for CloudStack UI is an attempt to solve those
> >> problems that
> >> > brings in several UI enhancements such as sortable tables, new status
> >> icons,
> >> > methods to control breadcrumb navigation, making UI’s global list* API
> >> pagesize
> >> > dynamic, a new table widget based on listView widget that is both
> >> horizontally
> >> > and vertically scrollable, supports cell/threshold coloring,
> collapsible
> >> > columns along with navigation from one view to another and quick-view
> >> actions.
> >> > For example, currently support navigation are: Zone to Cluster to
> Host to
> >> > Instance to Volumes, and Storage Pool to Volumes.
> >> >
> >> > The current version implements six resource views for zone, cluster,
> >> host,
> >> > instance, volume and storage pool (primary storage). The metrics
> >> framework
> >> > (based on listView widget) would allow developers to write more such
> >> view where
> >> > information can be densely packed.
> >> >
> >> > Please checkout the FS (with some screenshots) and the PR;
> >> >
> >> > FS: https://issues.apache.org/jira

Re: [RFC] Metrics views for CloudStack UI

2015-11-12 Thread Nux!
Marcus,

Thanks for the explanation.
In my setup I chose to completely ignore this Ghz thing which may turn up to be 
a mistake.
I am using the same number for Mhz as for the # of CPU cores, e.g.
CPU (in MHz)1 MHz

I was just concerned with the CPU weight thingy, but this should work just as 
well.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Marcus" 
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Sent: Thursday, 12 November, 2015 16:13:34
> Subject: Re: [RFC] Metrics views for CloudStack UI

> Hi Nux,
>   The thing about ghz is that it is the unit of capacity for CPU, VMs are
> allocated to hosts according to the number of "cycles" it has.  As a
> customer, I agree, core count is more important. As an admin, if you have a
> single host in a cluster that is using much more CPU than the others and
> want to try to balance, the ghz number for the VM can tell you 1) which VMs
> on a host are the 'biggest' when cgroup throttling kicks in, that is, how
> much of the host CPU share a VM will get, and 2) if that VM will fit on
> another host - the old UI helps you know which hosts don't have capacity
> for a migration, but it doesn't tell you how full each host is and doesn't
> give you this data to know how full you'll make a host if you migrate.
> 
>Many people will want these metrics to go into a time series system and
> use something like the graphite publisher instead, as that will give better
> visibility into what's going on over time, but this seems like a good
> out-of-the-box solution to expose the data we already have buried in the UI.
> 
> On Thu, Nov 5, 2015 at 9:35 AM, Nux!  wrote:
> 
>> Great work Rohit,
>>
>> What I'd like to see:
>> - vCPU list/count for instance metrics (GHz is meaningless to me)
>> - can we make the whole thing wider so we can fit more columns there
>> without that ugly horizontal scroll bar? So much wasted screen space
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Rohit Yadav" 
>> > To: d...@cloudstack.apache.org
>> > Cc: users@cloudstack.apache.org
>> > Sent: Thursday, 5 November, 2015 14:09:14
>> > Subject: [RFC] Metrics views for CloudStack UI
>>
>> > Hi all,
>> >
>> > The present CloudStack UI hides most of the metrics data such as cpu,
>> memory,
>> > disk, network usage in inner detail views. Such information is critical
>> to find
>> > issues in one’s cloud, for example finding clusters where hosts are
>> failing, or
>> > finding storage pools where disk space has depleted beyond configured
>> global or
>> > cluster thresholds.
>> >
>> > The metrics views for CloudStack UI is an attempt to solve those
>> problems that
>> > brings in several UI enhancements such as sortable tables, new status
>> icons,
>> > methods to control breadcrumb navigation, making UI’s global list* API
>> pagesize
>> > dynamic, a new table widget based on listView widget that is both
>> horizontally
>> > and vertically scrollable, supports cell/threshold coloring, collapsible
>> > columns along with navigation from one view to another and quick-view
>> actions.
>> > For example, currently support navigation are: Zone to Cluster to Host to
>> > Instance to Volumes, and Storage Pool to Volumes.
>> >
>> > The current version implements six resource views for zone, cluster,
>> host,
>> > instance, volume and storage pool (primary storage). The metrics
>> framework
>> > (based on listView widget) would allow developers to write more such
>> view where
>> > information can be densely packed.
>> >
>> > Please checkout the FS (with some screenshots) and the PR;
>> >
>> > FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
>> > JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
>> > PR: https://github.com/apache/cloudstack/pull/1038
>> >
>> > Comments and suggestions?
>> >
>> > Regards,
>> > Rohit Yadav
>> > Software Architect, ShapeBlue
>> >
>> >
>> > [cid:image003.png@01D104EF.CE276C40]
>> >
>> >
>> > M. +91 88 262 30892 |
>> > rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>
>> > Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab
>> > ShapeBlue Ltd, 53 

Re: [RFC] Metrics views for CloudStack UI

2015-11-12 Thread Marcus
Hi Nux,
   The thing about ghz is that it is the unit of capacity for CPU, VMs are
allocated to hosts according to the number of "cycles" it has.  As a
customer, I agree, core count is more important. As an admin, if you have a
single host in a cluster that is using much more CPU than the others and
want to try to balance, the ghz number for the VM can tell you 1) which VMs
on a host are the 'biggest' when cgroup throttling kicks in, that is, how
much of the host CPU share a VM will get, and 2) if that VM will fit on
another host - the old UI helps you know which hosts don't have capacity
for a migration, but it doesn't tell you how full each host is and doesn't
give you this data to know how full you'll make a host if you migrate.

Many people will want these metrics to go into a time series system and
use something like the graphite publisher instead, as that will give better
visibility into what's going on over time, but this seems like a good
out-of-the-box solution to expose the data we already have buried in the UI.

On Thu, Nov 5, 2015 at 9:35 AM, Nux!  wrote:

> Great work Rohit,
>
> What I'd like to see:
> - vCPU list/count for instance metrics (GHz is meaningless to me)
> - can we make the whole thing wider so we can fit more columns there
> without that ugly horizontal scroll bar? So much wasted screen space
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Rohit Yadav" 
> > To: d...@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Sent: Thursday, 5 November, 2015 14:09:14
> > Subject: [RFC] Metrics views for CloudStack UI
>
> > Hi all,
> >
> > The present CloudStack UI hides most of the metrics data such as cpu,
> memory,
> > disk, network usage in inner detail views. Such information is critical
> to find
> > issues in one’s cloud, for example finding clusters where hosts are
> failing, or
> > finding storage pools where disk space has depleted beyond configured
> global or
> > cluster thresholds.
> >
> > The metrics views for CloudStack UI is an attempt to solve those
> problems that
> > brings in several UI enhancements such as sortable tables, new status
> icons,
> > methods to control breadcrumb navigation, making UI’s global list* API
> pagesize
> > dynamic, a new table widget based on listView widget that is both
> horizontally
> > and vertically scrollable, supports cell/threshold coloring, collapsible
> > columns along with navigation from one view to another and quick-view
> actions.
> > For example, currently support navigation are: Zone to Cluster to Host to
> > Instance to Volumes, and Storage Pool to Volumes.
> >
> > The current version implements six resource views for zone, cluster,
> host,
> > instance, volume and storage pool (primary storage). The metrics
> framework
> > (based on listView widget) would allow developers to write more such
> view where
> > information can be densely packed.
> >
> > Please checkout the FS (with some screenshots) and the PR;
> >
> > FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> > JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> > PR: https://github.com/apache/cloudstack/pull/1038
> >
> > Comments and suggestions?
> >
> > Regards,
> > Rohit Yadav
> > Software Architect, ShapeBlue
> >
> >
> > [cid:image003.png@01D104EF.CE276C40]
> >
> >
> > M. +91 88 262 30892 |
> > rohit.ya...@shapeblue.com
> > Blog: bhaisaab.org | Twitter: @_bhaisaab
> > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> >
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge – rapid IaaS deployment framework
> > CloudStack Consulting
> > CloudStack Software
> > Engineering
> > CloudStack Infrastructure
> > Support
> > CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
> >
> > This email and any attachments to it may be confidential and are
> intended solely
> > for the use of the individual to whom it is addressed. Any views or
> opinions
> > expressed are solely those of the author and do not necessarily
> represent those
> > of Shape Blue Ltd or related companies. If you are not the intended
> recipient
> > of this email, you must neither take any action based upon its contents,
> nor
> > copy or show it to anyone. Please contact the sender if you believe you
> have
> > received this email in error. Shape Blue Ltd is a company incorporated in
> > England & Wales. ShapeBlue Services India LLP is a company incorporated
> in
> > India and is operated under license from Shape Blue Ltd. Shape Blue
> Brasil
> > Consultoria Ltda is a company incorporat

Re: [RFC] Metrics views for CloudStack UI

2015-11-07 Thread Nux!
Since we're still at it, does the current metrics view show total virtual core 
count per host (perhaps vs real core count)?
Is this something we could have?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Nux!" 
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Sent: Thursday, 5 November, 2015 17:35:14
> Subject: Re: [RFC] Metrics views for CloudStack UI

> Great work Rohit,
> 
> What I'd like to see:
> - vCPU list/count for instance metrics (GHz is meaningless to me)
> - can we make the whole thing wider so we can fit more columns there without
> that ugly horizontal scroll bar? So much wasted screen space
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Rohit Yadav" 
>> To: d...@cloudstack.apache.org
>> Cc: users@cloudstack.apache.org
>> Sent: Thursday, 5 November, 2015 14:09:14
>> Subject: [RFC] Metrics views for CloudStack UI
> 
>> Hi all,
>> 
>> The present CloudStack UI hides most of the metrics data such as cpu, memory,
>> disk, network usage in inner detail views. Such information is critical to 
>> find
>> issues in one’s cloud, for example finding clusters where hosts are failing, 
>> or
>> finding storage pools where disk space has depleted beyond configured global 
>> or
>> cluster thresholds.
>> 
>> The metrics views for CloudStack UI is an attempt to solve those problems 
>> that
>> brings in several UI enhancements such as sortable tables, new status icons,
>> methods to control breadcrumb navigation, making UI’s global list* API 
>> pagesize
>> dynamic, a new table widget based on listView widget that is both 
>> horizontally
>> and vertically scrollable, supports cell/threshold coloring, collapsible
>> columns along with navigation from one view to another and quick-view 
>> actions.
>> For example, currently support navigation are: Zone to Cluster to Host to
>> Instance to Volumes, and Storage Pool to Volumes.
>> 
>> The current version implements six resource views for zone, cluster, host,
>> instance, volume and storage pool (primary storage). The metrics framework
>> (based on listView widget) would allow developers to write more such view 
>> where
>> information can be densely packed.
>> 
>> Please checkout the FS (with some screenshots) and the PR;
>> 
>> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
>> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
>> PR: https://github.com/apache/cloudstack/pull/1038
>> 
>> Comments and suggestions?
>> 
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> 
>> 
>> [cid:image003.png@01D104EF.CE276C40]
>> 
>> 
>> M. +91 88 262 30892 |
>> rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>
>> Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>> 
>> Find out more about ShapeBlue and our range of CloudStack related services
>> 
>> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software
>> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training 
>> Courses<http://shapeblue.com/cloudstack-training/>
>> 
>> This email and any attachments to it may be confidential and are intended 
>> solely
>> for the use of the individual to whom it is addressed. Any views or opinions
>> expressed are solely those of the author and do not necessarily represent 
>> those
>> of Shape Blue Ltd or related companies. If you are not the intended recipient
>> of this email, you must neither take any action based upon its contents, nor
>> copy or show it to anyone. Please contact the sender if you believe you have
>> received this email in error. Shape Blue Ltd is a company incorporated in
>> England & Wales. ShapeBlue Services India LLP is a company incorporated in
>> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
>> Consultoria Ltda is a company incorporated in Brasil and is operated under
>> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
>> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> > ShapeBlue is a registered trademark.


Re: [RFC] Metrics views for CloudStack UI

2015-11-06 Thread Rohit Yadav
Hi Stephan,

Domain admins are not shown infrastructure tab, so while they may still access 
metrics view for instances and volumes, they won't be able to see metrics for 
rest of the resources (zones, clusters, hosts and storage pool). I'll discuss 
and incorporate changes to allow showing volume and instances metrics.

Regards.


From: Stephan Seitz 
Sent: Friday, November 6, 2015 3:17 PM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org
Subject: Re: [RFC] Metrics views for CloudStack UI

This looks really great!
You've added the metrics view at the Infrastructure tab. This is nice
for the platform ops.
I assume the very same metrics would also be a benefit for domain-admins
(say: customers). I'ld suggest to add this view somewhere below the
Instances tab.

cheers,

- Stephan


Am Donnerstag, den 05.11.2015, 14:09 + schrieb Rohit Yadav:
> Hi all,
>
>
> The present CloudStack UI hides most of the metrics data such as cpu,
> memory, disk, network usage in inner detail views. Such information is
> critical to find issues in one’s cloud, for example finding clusters
> where hosts are failing, or finding storage pools where disk space has
> depleted beyond configured global or cluster thresholds.
>
>
> The metrics views for CloudStack UI is an attempt to solve those
> problems that brings in several UI enhancements such as sortable
> tables, new status icons, methods to control breadcrumb navigation,
> making UI’s global list* API pagesize dynamic, a new table widget
> based on listView widget that is both horizontally and vertically
> scrollable, supports cell/threshold coloring, collapsible columns
> along with navigation from one view to another and quick-view actions.
> For example, currently support navigation are: Zone to Cluster to Host
> to Instance to Volumes, and Storage Pool to Volumes.
>
>
> The current version implements six resource views for zone, cluster,
> host, instance, volume and storage pool (primary storage). The metrics
> framework (based on listView widget) would allow developers to write
> more such view where information can be densely packed.
>
>
> Please checkout the FS (with some screenshots) and the PR;
>
>
> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> PR: https://github.com/apache/cloudstack/pull/1038
>
>
> Comments and suggestions?
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
>
>
>
>
>
>
>
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> Find out more about ShapeBlue and our range of CloudStack related
> services
>
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software Engineering
> CloudStack Infrastructure Support
> CloudStack Bootcamp Training Courses
>
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
> companies. If you are not the intended recipient of this email, you
> must neither take any action based upon its contents, nor copy or show
> it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales. ShapeBlue Services India LLP is a company
> incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA
> Pty Ltd is a company registered by The Republic of South Africa and is
> traded under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.


Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely thos

Re: [RFC] Metrics views for CloudStack UI

2015-11-06 Thread Rohit Yadav
Hi Lucian,

- We are showing number of cores on the instances metrics view
- We can increase the width of the container/list-view but the UI assumes 
1024px to be the width and with this assumption several widgets/css rules are 
put in place, so it's a challenge to get it right without breaking seen/unseen 
widgets and views. For such reasons, the columns are made collapsible to hide a 
group of columns in case you don't want to use horizontal scrolling and widths 
of columns made shorter to pack more information (increase the information 
density). The other issue is all the widgets you see are created by JS code 
(directly using DOM manupulations) so it's hard to reason about responsive 
widgets (many have fixed widths, or absolute positions based on where the 
container starts etc). I can try if we can somehow implement a responsive 
design/container.

Regards.



From: Nux! 
Sent: Thursday, November 5, 2015 11:05 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: [RFC] Metrics views for CloudStack UI

Great work Rohit,

What I'd like to see:
- vCPU list/count for instance metrics (GHz is meaningless to me)
- can we make the whole thing wider so we can fit more columns there without 
that ugly horizontal scroll bar? So much wasted screen space

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Sent: Thursday, 5 November, 2015 14:09:14
> Subject: [RFC] Metrics views for CloudStack UI

> Hi all,
>
> The present CloudStack UI hides most of the metrics data such as cpu, memory,
> disk, network usage in inner detail views. Such information is critical to 
> find
> issues in one’s cloud, for example finding clusters where hosts are failing, 
> or
> finding storage pools where disk space has depleted beyond configured global 
> or
> cluster thresholds.
>
> The metrics views for CloudStack UI is an attempt to solve those problems that
> brings in several UI enhancements such as sortable tables, new status icons,
> methods to control breadcrumb navigation, making UI’s global list* API 
> pagesize
> dynamic, a new table widget based on listView widget that is both horizontally
> and vertically scrollable, supports cell/threshold coloring, collapsible
> columns along with navigation from one view to another and quick-view actions.
> For example, currently support navigation are: Zone to Cluster to Host to
> Instance to Volumes, and Storage Pool to Volumes.
>
> The current version implements six resource views for zone, cluster, host,
> instance, volume and storage pool (primary storage). The metrics framework
> (based on listView widget) would allow developers to write more such view 
> where
> information can be densely packed.
>
> Please checkout the FS (with some screenshots) and the PR;
>
> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> PR: https://github.com/apache/cloudstack/pull/1038
>
> Comments and suggestions?
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
>
>
> [cid:image003.png@01D104EF.CE276C40]
>
>
> M. +91 88 262 30892 |
> rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>
> Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software
> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorpo

Re: [RFC] Metrics views for CloudStack UI

2015-11-06 Thread Stephan Seitz
This looks really great!
You've added the metrics view at the Infrastructure tab. This is nice
for the platform ops.
I assume the very same metrics would also be a benefit for domain-admins
(say: customers). I'ld suggest to add this view somewhere below the
Instances tab.

cheers,

- Stephan


Am Donnerstag, den 05.11.2015, 14:09 + schrieb Rohit Yadav: 
> Hi all,
> 
> 
> The present CloudStack UI hides most of the metrics data such as cpu,
> memory, disk, network usage in inner detail views. Such information is
> critical to find issues in one’s cloud, for example finding clusters
> where hosts are failing, or finding storage pools where disk space has
> depleted beyond configured global or cluster thresholds.
> 
> 
> The metrics views for CloudStack UI is an attempt to solve those
> problems that brings in several UI enhancements such as sortable
> tables, new status icons, methods to control breadcrumb navigation,
> making UI’s global list* API pagesize dynamic, a new table widget
> based on listView widget that is both horizontally and vertically
> scrollable, supports cell/threshold coloring, collapsible columns
> along with navigation from one view to another and quick-view actions.
> For example, currently support navigation are: Zone to Cluster to Host
> to Instance to Volumes, and Storage Pool to Volumes. 
> 
> 
> The current version implements six resource views for zone, cluster,
> host, instance, volume and storage pool (primary storage). The metrics
> framework (based on listView widget) would allow developers to write
> more such view where information can be densely packed.
> 
> 
> Please checkout the FS (with some screenshots) and the PR;
> 
> 
> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> PR: https://github.com/apache/cloudstack/pull/1038
> 
> 
> Comments and suggestions?
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> 
> 
> 
> 
> 
> 
> 
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> 
> Find out more about ShapeBlue and our range of CloudStack related
> services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software Engineering
> CloudStack Infrastructure Support
> CloudStack Bootcamp Training Courses
> 
> 
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
> companies. If you are not the intended recipient of this email, you
> must neither take any action based upon its contents, nor copy or show
> it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales. ShapeBlue Services India LLP is a company
> incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA
> Pty Ltd is a company registered by The Republic of South Africa and is
> traded under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.




Re: [RFC] Metrics views for CloudStack UI

2015-11-05 Thread Nux!
Great work Rohit,

What I'd like to see:
- vCPU list/count for instance metrics (GHz is meaningless to me)
- can we make the whole thing wider so we can fit more columns there without 
that ugly horizontal scroll bar? So much wasted screen space

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Sent: Thursday, 5 November, 2015 14:09:14
> Subject: [RFC] Metrics views for CloudStack UI

> Hi all,
> 
> The present CloudStack UI hides most of the metrics data such as cpu, memory,
> disk, network usage in inner detail views. Such information is critical to 
> find
> issues in one’s cloud, for example finding clusters where hosts are failing, 
> or
> finding storage pools where disk space has depleted beyond configured global 
> or
> cluster thresholds.
> 
> The metrics views for CloudStack UI is an attempt to solve those problems that
> brings in several UI enhancements such as sortable tables, new status icons,
> methods to control breadcrumb navigation, making UI’s global list* API 
> pagesize
> dynamic, a new table widget based on listView widget that is both horizontally
> and vertically scrollable, supports cell/threshold coloring, collapsible
> columns along with navigation from one view to another and quick-view actions.
> For example, currently support navigation are: Zone to Cluster to Host to
> Instance to Volumes, and Storage Pool to Volumes.
> 
> The current version implements six resource views for zone, cluster, host,
> instance, volume and storage pool (primary storage). The metrics framework
> (based on listView widget) would allow developers to write more such view 
> where
> information can be densely packed.
> 
> Please checkout the FS (with some screenshots) and the PR;
> 
> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> PR: https://github.com/apache/cloudstack/pull/1038
> 
> Comments and suggestions?
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> 
> 
> [cid:image003.png@01D104EF.CE276C40]
> 
> 
> M. +91 88 262 30892 |
> rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software
> Engineering
> CloudStack Infrastructure
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: [RFC] Metrics views for CloudStack UI

2015-11-05 Thread cs user
Hi Rohit,

This looks fantastic to me. It's a very much needed addition to the UI.
Look forward to trying it out at some point in the future :-)

Thanks!

On Thu, Nov 5, 2015 at 2:09 PM, Rohit Yadav 
wrote:

> Hi all,
>
> The present CloudStack UI hides most of the metrics data such as cpu,
> memory, disk, network usage in inner detail views. Such information is
> critical to find issues in one’s cloud, for example finding clusters where
> hosts are failing, or finding storage pools where disk space has depleted
> beyond configured global or cluster thresholds.
>
> The metrics views for CloudStack UI is an attempt to solve those problems
> that brings in several UI enhancements such as sortable tables, new status
> icons, methods to control breadcrumb navigation, making UI’s global list*
> API pagesize dynamic, a new table widget based on listView widget that is
> both horizontally and vertically scrollable, supports cell/threshold
> coloring, collapsible columns along with navigation from one view to
> another and quick-view actions. For example, currently support navigation
> are: Zone to Cluster to Host to Instance to Volumes, and Storage Pool to
> Volumes.
>
> The current version implements six resource views for zone, cluster, host,
> instance, volume and storage pool (primary storage). The metrics framework
> (based on listView widget) would allow developers to write more such view
> where information can be densely packed.
>
> Please checkout the FS (with some screenshots) and the PR;
>
> FS: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9020
> PR: https://github.com/apache/cloudstack/pull/1038
>
> Comments and suggestions?
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
>
>
>
>
>
> * M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>  Blog: bhaisaab.org  |
> Twitter: @_bhaisaab ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London,
> WC2N 4HS *
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build
> 
> CSForge – rapid IaaS deployment framework 
> CloudStack Consulting 
> CloudStack Software Engineering
> 
> CloudStack Infrastructure Support
> 
> CloudStack Bootcamp Training Courses
> 
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>