Re: Include resource tags in the usage record for chargebacks

2018-03-06 Thread Syed Ahmed
That's something I hadn't thought of. Adding tags when the usage job runs sounds like a better approach. It will also limit the potential number of places where changes need to be made. I'm planning to include tags as an array in a field or possible comma separated values. Thanks, -Syed On Tue,

Re: Include resource tags in the usage record for chargebacks

2018-03-06 Thread Dag Sonstebo
Hi Syed, I see the use case and yes this could work – couple of things: - Any resource could have multiple tags – would they all be included as an array in a single DB field, or would you want to just define one specific tag ( e.g. “owner” or “costcentre”) and include that single field? - How

Include resource tags in the usage record for chargebacks

2018-03-05 Thread Syed Ahmed
Hi Guys, Currently the usage record in CloudStack doesn't include the resource tags and we are having more and more use cases where we feel like including tags will immensely help with the chargeback logic. Currently, we go back and query Cloudstack to give us the tags associated with a resource.