*** lemko has joined #cloudkitty | 07:18 | |
zigo | peschk_l: Now, I got Gnocchi displaying resources! \o/ | 07:34 |
---|---|---|
zigo | peschk_l: But rate is still zero. | 07:34 |
zigo | Should I wait 1 hour? | 07:34 |
peschk_l | zigo: check the measures of the metrics you are collecting. If the first measures just appeared and cloudkitty is configured to wait two periods (which is default), you'll have to wait at least two hours after the timestamp of the first measure | 08:42 |
zigo | peschk_l: How do I check for that? | 08:54 |
zigo | peschk_l: I get "gnochi resource list" that shows the instance I started ... | 08:54 |
peschk_l | zigo: gnocchi resource show RESOURCE_ID will show you the metrics linked to a resource, and give you their ID | 08:54 |
peschk_l | zigo: then, gnocchi measures show METRIC_ID will show you the measures for that specific metric | 08:55 |
zigo | Ok, and what do I read there? | 08:55 |
peschk_l | try with image.size or volume.size | 08:55 |
peschk_l | zigo: there will be measures associated to a timestamp | 08:55 |
peschk_l | if the timestamp was at least 2 hours ago, cloudkitty will be able to collect it | 08:56 |
zigo | I don't have image.size or volume.size ... | 08:56 |
zigo | Oh, disk.ephemeral.size: ? | 08:56 |
zigo | # gnocchi measures show 79a8604a-1ce4-4e75-8de9-b26491050a7e -f value | 08:57 |
zigo | 2019-04-26T07:15:00+00:00 300.0 0.0 | 08:57 |
zigo | 2019-04-26T08:00:00+00:00 300.0 0.0 | 08:57 |
zigo | This ? | 08:57 |
zigo | peschk_l: ^ | 08:57 |
peschk_l | zigo: for example | 08:58 |
peschk_l | but you would need measures in a metric that is specified in cloudkitty's metrics.yml file | 08:58 |
peschk_l | do you have cpu for instances ? | 08:58 |
zigo | vcpus: 25fb6a94-944e-4a15-9e48-c74a59d4018f | 08:59 |
zigo | That? | 08:59 |
zigo | I get 2 records for that metric on this instance. | 08:59 |
peschk_l | just "cpu". The cpu metrics represents the cpu uptime of the instance and helps us to know if the instance is payused or not | 09:00 |
zigo | Maybe the ceilometer-agent-compute isn't working correctly. | 09:01 |
peschk_l | is there anything in the logs ? | 09:01 |
peschk_l | of the ceilometer compute agent ? | 09:01 |
zigo | Oh, looks like it needed a restart. | 09:02 |
zigo | Now I do see the "cpu" thing ... | 09:02 |
zigo | peschk_l: Ok, I guess I need to just wait now, right? | 09:02 |
zigo | :) | 09:02 |
peschk_l | zigo: right :) | 09:03 |
peschk_l | don't forget to enable the hashmap module in cloudkitty though | 09:03 |
zigo | peschk_l: That's all done! :) | 09:11 |
zigo | Now I see 2 measure for the CPU. | 09:11 |
zigo | gnocchi is also showing more resources. | 09:12 |
zigo | I can see instance_network_interface and instance_disk now. | 09:12 |
zigo | So I guess it's all working and I should just wait. | 09:12 |
zigo | peschk_l: We're 2 hours after, and still zero in the Rate field ... :/ | 11:24 |
zigo | What else should I check for? | 11:27 |
zigo | peschk_l: Setting fetcher = gnocchi made the trick, I finally get something in cloudkitty ! :) | 13:44 |
*** Emine has joined #cloudkitty | 15:05 | |
*** Emine has quit IRC | 17:09 | |
*** Emine has joined #cloudkitty | 19:46 | |
*** lemko has quit IRC | 20:01 | |
*** Emine has quit IRC | 20:48 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!