*** rcernin has quit IRC | 02:00 | |
*** rcernin has joined #openstack-telemetry | 02:29 | |
*** rcernin has quit IRC | 02:29 | |
*** rcernin has joined #openstack-telemetry | 02:30 | |
*** rcernin has quit IRC | 02:44 | |
*** rcernin has joined #openstack-telemetry | 03:16 | |
*** dasp has quit IRC | 03:34 | |
*** dasp has joined #openstack-telemetry | 03:45 | |
*** psachin has joined #openstack-telemetry | 03:51 | |
*** mrunge has quit IRC | 06:56 | |
*** mrunge has joined #openstack-telemetry | 06:57 | |
*** rcernin has quit IRC | 07:44 | |
*** bengates has joined #openstack-telemetry | 08:03 | |
*** bengates has quit IRC | 08:03 | |
*** bengates has joined #openstack-telemetry | 08:04 | |
zigo | mrunge: I'm trying to figure out if it's possible/desirable to have a /etc/ceilometer/gnocchi_resources.yaml file instead of /usr/lib/python3/dist-packages/ceilometer/publisher/data/gnocchi_resources.yaml, the current codebase doesn't seem to handle that. Your thoughts? | 09:02 |
---|---|---|
*** bengates_ has joined #openstack-telemetry | 09:05 | |
*** bengates has quit IRC | 09:09 | |
mrunge | what? | 09:10 |
mrunge | I would want to have it under /etc/ceilometer ... | 09:10 |
mrunge | but haven't looked at that so far | 09:10 |
mrunge | rpm -qf /etc/ceilometer/gnocchi_resources.yaml | 09:14 |
mrunge | openstack-ceilometer-common-13.1.2-1.20201114003337.35c7357.el8ost.noarch | 09:15 |
mrunge | so... that file is included in (current osp 16.x) and is taken into account | 09:15 |
zigo | mrunge: But does the package in Red Hat has a symlink to it, or does the code looks into /etc first? | 09:45 |
zigo | I've read the code and wasn't able to figure it out yet... | 09:46 |
zigo | I guess I'll just do the symlink trick and wont attempt to find out ! :) | 09:46 |
*** psachin has quit IRC | 13:01 | |
tkajinam | zigo, https://github.com/openstack/ceilometer/blob/master/ceilometer/declarative.py#L164 | 13:20 |
tkajinam | zigo, https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L214 | 13:20 |
tkajinam | zigo, it first searches usual config dirs like ~/.ceilometer/ ~/ceilometer /etc/ceilometer /etc | 13:21 |
zigo | tkajinam: Thanks for the pointers ! :) | 13:21 |
tkajinam | then fall back to the file under that data directory if there are no gnocchi_resources.yaml exists in these config directories | 13:21 |
zigo | That's very helpful. | 13:21 |
tkajinam | np. I was just scared that we might have had wrong assumption in puppet-ceilometer :-P | 13:22 |
zigo | tkajinam: puppet-ceilometer doesn't handle gnocchi_resources.yaml, right? | 13:23 |
tkajinam | oh | 13:24 |
tkajinam | zigo, you are correct. I was confused with other yamls like pipeline.yaml | 13:24 |
zigo | tkajinam: I probably will have to propose the feature, though I'm really not sure how yet ... :) | 13:24 |
tkajinam | zigo, it would depend on what you want to customize. the most easy way is to add a single hash parameter and dump it to yaml but it would require horrible hash passed to puppet because gnocchi_resources.yaml is huge | 13:27 |
zigo | tkajinam: I want to allow *adding* custom things to it. | 13:28 |
zigo | For example, if like me, people need to bill custom items (in my case: ports on a specific subnet, and subnets in a specific pool, both having public IPs). | 13:28 |
tkajinam | zigo, that sounds reasonable but it's still unclear to me whether just dding resource type works | 13:29 |
tkajinam | zigo, IIUC it always requires implementation in ceilometer side and it doesn't much help us to just add some new resources in that yaml | 13:30 |
zigo | tkajinam: It's not clear to me yet either... | 13:30 |
zigo | tkajinam: Maybe it would make sense to implement a /etc/ceilometer/gnocchi_resources.d thingy? | 13:31 |
tkajinam | I don't think current ceilometer supports .d as per my quick grep | 13:31 |
zigo | tkajinam: It does for dynamic pollsters. | 13:38 |
*** e0ne has joined #openstack-telemetry | 13:45 | |
*** takamatsu has joined #openstack-telemetry | 14:17 | |
*** takamatsu has quit IRC | 16:11 | |
*** e0ne has quit IRC | 16:37 | |
*** hoonetorg has quit IRC | 17:01 | |
*** etp has quit IRC | 17:01 | |
*** hoonetorg has joined #openstack-telemetry | 17:06 | |
*** etp has joined #openstack-telemetry | 17:06 | |
*** e0ne has joined #openstack-telemetry | 17:13 | |
*** e0ne has quit IRC | 17:26 | |
*** bengates_ has quit IRC | 17:26 | |
*** bengates has joined #openstack-telemetry | 17:27 | |
*** bengates has quit IRC | 17:32 | |
*** bengates has joined #openstack-telemetry | 17:42 | |
*** e0ne has joined #openstack-telemetry | 17:43 | |
*** e0ne has quit IRC | 17:43 | |
*** e0ne has joined #openstack-telemetry | 17:59 | |
*** bengates_ has joined #openstack-telemetry | 18:04 | |
*** bengates has quit IRC | 18:08 | |
*** fresta has quit IRC | 19:08 | |
*** rcernin has joined #openstack-telemetry | 20:46 | |
*** rcernin has quit IRC | 21:17 | |
*** fresta has joined #openstack-telemetry | 21:20 | |
*** e0ne has quit IRC | 21:23 | |
*** irclogbot_3 has quit IRC | 21:33 | |
*** DinaBelova has quit IRC | 21:33 | |
*** irclogbot_3 has joined #openstack-telemetry | 21:34 | |
*** DinaBelova has joined #openstack-telemetry | 21:34 | |
*** e0ne has joined #openstack-telemetry | 21:38 | |
*** rcernin has joined #openstack-telemetry | 22:05 | |
*** rcernin has quit IRC | 22:11 | |
*** rcernin has joined #openstack-telemetry | 22:11 | |
*** e0ne has quit IRC | 22:42 | |
*** bengates_ has quit IRC | 22:47 | |
*** bengates has joined #openstack-telemetry | 22:48 | |
*** bengates has quit IRC | 22:52 | |
*** rcernin has quit IRC | 22:56 | |
*** rcernin has joined #openstack-telemetry | 23:01 | |
*** rcernin has quit IRC | 23:26 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!