Re: [openstack-dev] [collectd-ceilometer-plugin] dpdkstat related meters are not displayed under "ceilometer meter-list"

2017-06-01 Thread gordon chung


On 01/06/17 03:51 AM, rajeev.satyanaray...@wipro.com wrote:
> I am working on bringing up Newton version of Openstack on 3
> Nodes(Controller, Compute and Network). I am using OVS with DPDK on my
> Compute Node and to get dpdk port related statistics on my Ceilometer, I
> have configured collectd to use DPDKSTAT plugin and also enabled the
> collectd-ceilometer-plugin as mentioned in their docs. I have used
> mongodb as the database for ceilometer service. I have observed that
> “ceilometer meter-list” doesn’t display any of the dpdkstat related
> meters, but when I issue “ceilometer sample-list –m
> dpdkstat.if_rx_packets” I get a table populated with resource-id and
> other details. I am not sure why “ceilometer meter-list” is not able to
> list my new dpdkstat meters.
>

you see them in sample-list and not meter-list? if that's the case, it's 
probably because the api doesn't return full dataset. i believe it's 
limited to 100 or a 1000.

regardless, i'm going to add obligatory ceilometer storage is 
unsupported and deprecated. use Gnocchi[1] or another time-series 
optimised solution. you're going to run into massive scaling issues 
(each datapoint in mongodb driver is over >1KB), especially if you're 
collecting collectd stats.

[1] http://gnocchi.xyz

cheers,
-- 
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-dev] [collectd-ceilometer-plugin] dpdkstat related meters are not displayed under "ceilometer meter-list"

2017-06-01 Thread rajeev.satyanaray...@wipro.com
Hi All,

I am working on bringing up Newton version of Openstack on 3 Nodes(Controller, 
Compute and Network). I am using OVS with DPDK on my Compute Node and to get 
dpdk port related statistics on my Ceilometer, I have configured collectd to 
use DPDKSTAT plugin and also enabled the collectd-ceilometer-plugin as 
mentioned in their docs. I have used mongodb as the database for ceilometer 
service. I have observed that "ceilometer meter-list" doesn't display any of 
the dpdkstat related meters, but when I issue "ceilometer sample-list -m 
dpdkstat.if_rx_packets" I get a table populated with resource-id and other 
details. I am not sure why "ceilometer meter-list" is not able to list my new 
dpdkstat meters.

Please find below my setup details:

Node 1: Controller
All the controller based services are running (mysqld, rabbitmq-server, 
mongodb, keystone, glance, dashboard, 
ceilometer-[notification/central/collector])

Node 2: Compute
All compute based services are running (nova-compute, ovs-agent, 
openstack-ceilometer-compute.service)

When I enable csv based write plugin in collectd, I could see all the csv files 
getting generated for all the dpdkstat counters and it also has data in it.
One observation is, I see that that dpdkstat counters like 
rx_size_1024_to_max_packets etc are getting populated as resource-id  for the 
meter dpdkstat.if_rx_packets. Is this behavior correct? Or should 
rx_size_1024_to_max_packets be considered as meter?

After enabling both collectd-ceilometer-plugin, should I modify or update the 
meters.yaml or pipeline.yaml to specify dpdkstat related meters?

Thanks in advance!

Regards,
Rajeev.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
__
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