[openstack-dev] [ceilometer][horizon] metric-list not complete and show metrics in horizon dashboard
gordon chung
gord at live.ca
Tue Apr 12 12:59:48 UTC 2016
On 12/04/2016 7:47 AM, Safka, JaroslavX wrote:
> *****
> And my question is: How is connected the database table meter and the command metric-list?
i assume you mean meter-list. it uses a combination of data from meter
table and resource table[1]. this is because it lists all the meters and
the resources associated with it. yes, it's complicated (which is why
we'd recommend Gnocchi or your own special solution)
> Second question how I can propagate the metrics to horizon dashboard "Resource usage"?
> (I'm able only see cpu metric from started worker image)
horizon uses ceilometerclient to grab data so i imagine they are using
some combination of resource-list, sample-list, meter-list. as Matthias
mentioned, you probably shouldn't rely on the existing horizon interface
as the hope is to deprecate the view in horizon since no one is really
sure what it's designed to show.
>
> Background:
> I'm writing plugin which connects collectd and ceilometer and I want to see the collectd metrics in the horizon or at least in the ceilometer shell.
is this an addition to the work that Emma did[1]? i'm assuming so, given
your locale/company.
[1]
https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/impl_sqlalchemy.py#L539-L549
[1] https://github.com/openstack/collectd-ceilometer-plugin
--
gord
More information about the OpenStack-dev
mailing list