11 Dec 2023 10:00 PM
Hi,
I throught total DDUs consumption = w/o included DDUs + DDU included, but in the below 3 pictures I queried in the same period, it does not equeal relationship (29.2k < 218 + 259k), may I ask why, and which builtin metrics should be used in this equation for the correct total DDU consumption, paid consumption, and free consumption ?
Thank you so much!
1. total DDUs consumption (metrics+log+events+serverless+traces) like below :
2. DDUs consumption by entity w/o host-unit included DDUs
3. DDU inclued data, sum was 259k:
Solved! Go to Solution.
12 Dec 2023 08:03 AM
Metric builtin:billing.ddu.metrics.byEntityRaw (DDU consumption without host unit included..) shows total DDU consumption. Metric builtin:billing.ddu.metrics.byEntity shows really billed DDUs.
12 Dec 2023 09:30 AM
Base on your suggestion, the results of the query are looks like right, thank you so much!
I also wondering :
1. Is there a metric buildin that can directly query the consumption for free tire-DDUs?
2. How about DDU log consumption, there is no ‘Metric builtin:billing.ddu.log.byEntityRaw’ , could I use 'Metric builtin:billing.ddu.log.total' shows total DDU log consumption?
Thanks again!
12 Dec 2023 09:41 AM
ad 1: there is no such thing as free DDUs but instead there is a number of free metrics per HU. Metric builtin:billing.ddu.includedMetricPerHost can show the number. There is also metric builtin:billing.ddu.includedMetricDduPerHost, that shows recalculation to DDUs.
2. yes builtin:billing.ddu.log.total shows total ddus spent on log events. There is no HU included log events so it's always billed.