[cloudkitty] question to the scope_key in cloudkitty

Noah Elias Feldt N.Feldt at mittwald.de
Mon Feb 20 13:34:41 UTC 2023


Hello! I am currently trying to get CloudKitty to work with the Prometheus Collector and PyScripts. I noticed that the scope_key for Prometheus can only be changed once in the global configuration file. This was a problem for me because we need different scope_keys for different metrics. Many of the metrics still need the scope key "tenant_id" and some others "project_id". I have found in the documentation of CloudKitty no way to change this for each metric, so I have internally changed something in the source code and added the function to set the scope_key for each metric individually. I just wanted to ask if you would be interested if I submit the small change upstream?
Thank you. Regards

Noah Feldt



More information about the openstack-discuss mailing list