*** vishalmanchanda has joined #cloudkitty | 04:05 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #cloudkitty | 04:33 | |
*** priteau has joined #cloudkitty | 04:50 | |
*** priteau has quit IRC | 05:30 | |
*** priteau has joined #cloudkitty | 05:51 | |
*** priteau has quit IRC | 05:55 | |
*** priteau has joined #cloudkitty | 06:01 | |
*** priteau has quit IRC | 06:01 | |
*** priteau has joined #cloudkitty | 06:08 | |
openstackgerrit | Hervé Beraud proposed openstack/cloudkitty master: Stop to use the __future__ module. https://review.opendev.org/732825 | 18:09 |
---|---|---|
*** priteau has quit IRC | 18:09 | |
*** priteau has joined #cloudkitty | 18:37 | |
*** mnaser has joined #cloudkitty | 19:35 | |
mnaser | o/ 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 |
mnaser | do i need to expand that o? | 19:36 |
*** vishalmanchanda has quit IRC | 20:05 | |
priteau | mnaser: 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.html | 20:11 |
priteau | So 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 |
mnaser | priteau: looks like cloudkitty has an enforced minimum of 1 hour however? | 20:14 |
priteau | A minimum for what? | 20:14 |
priteau | If 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 matches | 20:16 |
mnaser | priteau: i think what i was looking for is something like https://blueprints.launchpad.net/cloudkitty/+spec/rating-for-second-level | 20:28 |
priteau | Indeed 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 used | 20:48 |
priteau | I didn't know about this spec. Unfortunately the patch was abandoned a long time ago | 20:49 |
*** priteau has quit IRC | 20:55 | |
*** priteau has joined #cloudkitty | 20:56 | |
*** priteau has quit IRC | 21:32 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!