Hi Charles,

Within Riak buckets, metadata around size (number of objects or bytes
houses) isn't tracked. In order to calculate something like this, my
advice would be to increment another key (probably prefixed by user
ID) by whatever metrics you're looking to track at the same time
writes by that user are made.

If you're asking about Riak CS, access [0] and storage [1] statistics
can be queried via an XML or JSON API.

--
Hector

[0] http://docs.basho.com/riakcs/latest/cookbooks/Querying-Access-Statistics/
[1] http://docs.basho.com/riakcs/latest/cookbooks/Querying-Storage-Statistics/

On Mon, Feb 24, 2014 at 4:48 AM, Charles Bijon <[email protected]> wrote:
> We use one bucket per customer and I want to know the total size of the
> bucket per customers to detect the hungry users.
>
> Regards
>
> Le 24/02/2014 11:40, Kartik Thakore a écrit :
>
> Can you clarify what you mean by billing?
>
>
> On Mon, Feb 24, 2014 at 5:39 AM, Charles Bijon <[email protected]>
> wrote:
>>
>> Hi,
>>
>> I would like to know how to make billing, i need to know the size of each
>> bucket. How i can do this please ?
>>
>> Regards,
>>
>> Charles
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to