[cloudkitty] Instances billing based on tags

Satish Patel satish.txt at gmail.com
Tue Jan 3 20:23:19 UTC 2023


Wow! very interesting, I will poke around and see how it's feasible. Very
curious how it will represent that data in horizon UI. Currently I am
seeing rates based on project_id so assuming it will show based on
customer_id. correct?


On Tue, Jan 3, 2023 at 8:13 AM Rafael Weingärtner <
rafaelweingartner at gmail.com> wrote:

> You can do that. Basically, you can start collecting those attributes you
> want for billing (e.g. tags) via Ceilometer dynamic pollster (that is the
> easiest way to achieve this). Then, you need to configure the resource type
> in Gnocchi to store this extra attribute, and of course, configure
> CloudKitty to collect/use it. Both in the metrics.yml and then in the
> hashmap or Pyscript rules.
>
> On Mon, Jan 2, 2023 at 11:01 PM Satish Patel <satish.txt at gmail.com> wrote:
>
>> Folks,
>>
>> We have an AWS project and in a single project we run multiple customers
>> so for billing we use tags. In short every vm instance has a tag (customer
>> name) and that way we can produce bills for each customer.
>>
>> Recently I am playing with openstack cloudkitty and it works with
>> standard cases like project based billing. But does it support tags based
>> billing just similar to what i have explained in the above aws example?
>>
>>
>>
>
> --
> Rafael Weingärtner
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230103/55a6b39b/attachment.htm>


More information about the openstack-discuss mailing list