metering-operator icon indicating copy to clipboard operation
metering-operator copied to clipboard

Billing RDS

Open pierreozoux opened this issue 6 years ago • 1 comments

I'm a multi-tenant openshift admin. I'm working on figuring out the best way to provide RDS as a service for our users, and it will probably be with some kind of form of operators.

Then, the next natural question is how do I charge back my customers.

This is how I stumbled upon this project.

We already developed an internal tool for charge back. It is based on prometheus data. Basically if I had an exporter that would tell me how many CRDs are there, on which namespace, and some details about it, I should be fine.

I'm investigating if the operator metering could help me. And is it made for my usage?

Thanks a lot for you insight!

pierreozoux avatar Jan 07 '19 12:01 pierreozoux

That would definitely work well with the way metering currently works! You would end up creating a ReportPrometheusQuery CR which defines the Prometheus query to run periodically to import data, then you can define ReportGenerationQueries and Reports to further post-process it using SQL.

chancez avatar Jan 07 '19 18:01 chancez