Tuesday, 2020-06-02

*** vishalmanchanda has joined #cloudkitty04:05
*** evrardjp has quit IRC04:33
*** evrardjp has joined #cloudkitty04:33
*** priteau has joined #cloudkitty04:50
*** priteau has quit IRC05:30
*** priteau has joined #cloudkitty05:51
*** priteau has quit IRC05:55
*** priteau has joined #cloudkitty06:01
*** priteau has quit IRC06:01
*** priteau has joined #cloudkitty06:08
openstackgerritHervĂ© Beraud proposed openstack/cloudkitty master: Stop to use the __future__ module.  https://review.opendev.org/73282518:09
*** priteau has quit IRC18:09
*** priteau has joined #cloudkitty18:37
*** mnaser has joined #cloudkitty19:35
mnasero/ does cloudkitty actually store rated data or does the db always need to be updated?19:35
mnaser(i.e. if i have it talking to prometheus and by defaults its 14 days retention..)19:36
mnaserdo i need to expand that o?19:36
*** vishalmanchanda has quit IRC20:05
priteaumnaser: cloudkitty stores rated data for each rated resource x period pair in its storage backend. There are two different storage versions, each supporting different backends. If you are using default settings you are probably storing dataframes in influxdb. See https://docs.openstack.org/cloudkitty/latest/admin/configuration/storage.html20:11
priteauSo technically you don't need long retention on your data source, though it can be useful while tuning rating rules if you want to reprocess the data.20:13
mnaserpriteau: looks like cloudkitty has an enforced minimum of 1 hour however?20:14
priteauA minimum for what?20:14
priteauIf you are talking about the collect period, it defaults to one hour. You can make it arbitrarily small but 1) it will increase the amount of dataframes 2) you need at least one measurement for the period, so you need a data source that matches20:16
mnaserpriteau: i think what i was looking for is something like https://blueprints.launchpad.net/cloudkitty/+spec/rating-for-second-level20:28
priteauIndeed the current design of cloudkitty doesn't handle events like instance creation or deletion, so you end up with whole time periods rated even when a fraction was used20:48
priteauI didn't know about this spec. Unfortunately the patch was abandoned a long time ago20:49
*** priteau has quit IRC20:55
*** priteau has joined #cloudkitty20:56
*** priteau has quit IRC21:32

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