> From: gordon chung [mailto:g...@live.ca] > Sent: Tuesday, April 12, 2016 8:00 AM > > 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.
Yes, Jarek works with me. There's no Ceilometer plugin for horizon, okay, gnocchi will be just fine. We can transform from Ceilometer to Gnocchi, and get those stats into Horizon. Later, we can push directly into gnocchi, and don't need to adjust visauls. Jarek, you'll need to modify the following file to pass the Ceilometer stats to Gnocchi: https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/gnocchi_resources.yaml [1] [1] http://lists.openstack.org/pipermail/openstack-dev/2016-January/085189.html > > [1] > https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/ > impl_sqlalchemy.py#L539-L549 > [1] https://github.com/openstack/collectd-ceilometer-plugin > > -- > gord > > __________________________________________________________ > ________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: OpenStack-dev- > requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev