Wednesday, 2021-03-03

*** rcernin has quit IRC02:00
*** rcernin has joined #openstack-telemetry02:29
*** rcernin has quit IRC02:29
*** rcernin has joined #openstack-telemetry02:30
*** rcernin has quit IRC02:44
*** rcernin has joined #openstack-telemetry03:16
*** dasp has quit IRC03:34
*** dasp has joined #openstack-telemetry03:45
*** psachin has joined #openstack-telemetry03:51
*** mrunge has quit IRC06:56
*** mrunge has joined #openstack-telemetry06:57
*** rcernin has quit IRC07:44
*** bengates has joined #openstack-telemetry08:03
*** bengates has quit IRC08:03
*** bengates has joined #openstack-telemetry08:04
zigomrunge: 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-telemetry09:05
*** bengates has quit IRC09:09
mrungewhat?09:10
mrungeI would want to have it under /etc/ceilometer ...09:10
mrungebut haven't looked at that so far09:10
mrungerpm -qf /etc/ceilometer/gnocchi_resources.yaml09:14
mrungeopenstack-ceilometer-common-13.1.2-1.20201114003337.35c7357.el8ost.noarch09:15
mrungeso... that file is included in (current osp 16.x) and is taken into account09:15
zigomrunge: But does the package in Red Hat has a symlink to it, or does the code looks into /etc first?09:45
zigoI've read the code and wasn't able to figure it out yet...09:46
zigoI guess I'll just do the symlink trick and wont attempt to find out ! :)09:46
*** psachin has quit IRC13:01
tkajinamzigo, https://github.com/openstack/ceilometer/blob/master/ceilometer/declarative.py#L16413:20
tkajinamzigo, https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L21413:20
tkajinamzigo, it first searches usual config dirs like ~/.ceilometer/ ~/ceilometer /etc/ceilometer /etc13:21
zigotkajinam: Thanks for the pointers ! :)13:21
tkajinamthen fall back to the file under that data directory if there are no gnocchi_resources.yaml exists in these config directories13:21
zigoThat's very helpful.13:21
tkajinamnp. I was just scared that we might have had wrong assumption in puppet-ceilometer :-P13:22
zigotkajinam: puppet-ceilometer doesn't handle gnocchi_resources.yaml, right?13:23
tkajinamoh13:24
tkajinamzigo, you are correct. I was confused with other yamls like pipeline.yaml13:24
zigotkajinam: I probably will have to propose the feature, though I'm really not sure how yet ... :)13:24
tkajinamzigo, 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 huge13:27
zigotkajinam: I want to allow *adding* custom things to it.13:28
zigoFor 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
tkajinamzigo, that sounds reasonable but it's still unclear to me whether just dding resource type works13:29
tkajinamzigo, IIUC it always requires implementation in ceilometer side and it doesn't much help us to just add some new resources in that yaml13:30
zigotkajinam: It's not clear to me yet either...13:30
zigotkajinam: Maybe it would make sense to implement a /etc/ceilometer/gnocchi_resources.d thingy?13:31
tkajinamI don't think current ceilometer supports .d as per my quick grep13:31
zigotkajinam: It does for dynamic pollsters.13:38
*** e0ne has joined #openstack-telemetry13:45
*** takamatsu has joined #openstack-telemetry14:17
*** takamatsu has quit IRC16:11
*** e0ne has quit IRC16:37
*** hoonetorg has quit IRC17:01
*** etp has quit IRC17:01
*** hoonetorg has joined #openstack-telemetry17:06
*** etp has joined #openstack-telemetry17:06
*** e0ne has joined #openstack-telemetry17:13
*** e0ne has quit IRC17:26
*** bengates_ has quit IRC17:26
*** bengates has joined #openstack-telemetry17:27
*** bengates has quit IRC17:32
*** bengates has joined #openstack-telemetry17:42
*** e0ne has joined #openstack-telemetry17:43
*** e0ne has quit IRC17:43
*** e0ne has joined #openstack-telemetry17:59
*** bengates_ has joined #openstack-telemetry18:04
*** bengates has quit IRC18:08
*** fresta has quit IRC19:08
*** rcernin has joined #openstack-telemetry20:46
*** rcernin has quit IRC21:17
*** fresta has joined #openstack-telemetry21:20
*** e0ne has quit IRC21:23
*** irclogbot_3 has quit IRC21:33
*** DinaBelova has quit IRC21:33
*** irclogbot_3 has joined #openstack-telemetry21:34
*** DinaBelova has joined #openstack-telemetry21:34
*** e0ne has joined #openstack-telemetry21:38
*** rcernin has joined #openstack-telemetry22:05
*** rcernin has quit IRC22:11
*** rcernin has joined #openstack-telemetry22:11
*** e0ne has quit IRC22:42
*** bengates_ has quit IRC22:47
*** bengates has joined #openstack-telemetry22:48
*** bengates has quit IRC22:52
*** rcernin has quit IRC22:56
*** rcernin has joined #openstack-telemetry23:01
*** rcernin has quit IRC23:26

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!