Subject: [prometheus-users] Breaking down the formula for Prometheus cardinality memory requirements


On Thu, 12 Mar 2020 at 08:52, Aaron Layfield <[EMAIL PROTECTED]>
wrote:

I think you're double counting there, and I'm not sure how you're getting
320B for the time series name. The exact formula used (field numbers are
off by one) is:

CEIL((fieldname2 * (732 + fieldname3*32 + fieldname3 * fieldname5 * 2) +
120 * fieldname4) * 2 / 1024 / 1024)

So (1000000 * (732 + 5*32 + 5*20*2) + 120 * 0)  * 2 = 2184000000
Keep in mind this is for 2.9.2, the numbers will have changed a bit since
then.

Brian
--
Brian Brazil
www.robustperception.io

--