Tuesday, 2020-09-08

*** vishalmanchanda has joined #cloudkitty03:52
*** evrardjp has quit IRC04:33
*** evrardjp has joined #cloudkitty04:33
*** prernadembla05 has joined #cloudkitty06:12
*** sboyron has joined #cloudkitty07:04
*** priteau has joined #cloudkitty08:35
*** prernadembla05 has quit IRC09:08
*** priteau has quit IRC09:12
*** priteau has joined #cloudkitty09:14
*** priteau has quit IRC09:17
*** priteau has joined #cloudkitty09:17
openstackgerritMerged openstack/cloudkitty-dashboard master: Cleanup for Refactor-error-messages  https://review.opendev.org/74821611:11
openstackgerritMerged openstack/cloudkitty master: Switch to newer openstackdocstheme and reno versions  https://review.opendev.org/73195412:01
openstackgerritPierre Riteau proposed openstack/python-cloudkittyclient master: Add support for GET /v2/dataframes API endpoint to the client  https://review.opendev.org/68166012:49
*** sboyron has quit IRC12:57
*** sboyron has joined #cloudkitty13:09
*** sboyron has quit IRC13:13
*** sboyron has joined #cloudkitty13:16
*** priteau has quit IRC14:23
openstackgerritPierre Riteau proposed openstack/cloudkitty master: Update lower-constraints  https://review.opendev.org/70635814:27
openstackgerritMerged openstack/python-cloudkittyclient master: Add support for GET /v2/dataframes API endpoint to the client  https://review.opendev.org/68166014:42
*** priteau has joined #cloudkitty14:49
openstackgerritPierre Riteau proposed openstack/cloudkitty master: Custom fields in summary get API  https://review.opendev.org/70812115:05
openstackgerritPierre Riteau proposed openstack/cloudkitty master: Create 'use_all_resource_revisions' for Gnocchi collector  https://review.opendev.org/72195515:05
mkarpiarzGuys: Which metrics are you able to import to Monasca with the prometheus-openstack-exporter?15:21
mkarpiarzThe only ones I can see have the "tenant_id" label attached are "openstack_nova_server_status", "openstack_cinder_volume_status" and so on.15:23
mkarpiarzAnd these come with value 0 if the resource is active or some positive number otherwise.15:24
mkarpiarzSo for example "openstack_nova_server_status{...,status="SHUTOFF",tenant_id="<tenant-id>",...} 11".15:26
mkarpiarzAnd the Cloudkitty Prometheus collector simply converts numerical measurement values to qtys.15:28
mkarpiarzSo, if I understand this correctly, active resources will have "qty=0" in the database.15:30
mkarpiarzIt feels like to be able to use these, we'd need the negation of NUMBOOL - 1 when qty=0 and 0 otherwise.15:32
mkarpiarzThe "openstack_nova_server_status" metric stores "flavor_id" for example, so one can store this parameter in metadata for the resource in Cloudkitty.15:34
mkarpiarzAlso, annoyingly "openstack_cinder_volume_status" is set to 1 (and not 0) for available volumes.16:15
priteauHi mkarpiarz.16:21
*** vishalmanchanda has quit IRC16:21
priteauI actually made my own fork of the openstack exporter with some changed16:22
priteauExport image and volume size explicitly: https://github.com/priteau/openstack-exporter/commit/02b120f7e055e71292d59b0a2e491cc91bb2d62c16:22
priteauUse project_id instead of tenant_id: https://github.com/priteau/openstack-exporter/commit/a6bceffa97343e9df178a58005697f94298d529f16:22
priteauWe use libvirt-exporter for instance metrics16:23
priteauI am aware of one issue with Monasca where we don't seem to be able to rate based on metadata like flavor_id or flavor_name16:23
priteauI have yet to investgate it16:23
*** sboyron has quit IRC17:33
*** priteau has quit IRC19:20
openstackgerritOpenStack Release Bot proposed openstack/python-cloudkittyclient master: Update master for stable/victoria  https://review.opendev.org/75052322:47
openstackgerritOpenStack Release Bot proposed openstack/python-cloudkittyclient master: Add Python3 wallaby unit tests  https://review.opendev.org/75052422:47

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