23 Jul 2020 03:05 PM - last edited on 26 Apr 2021 01:21 PM by MaciejNeumann
Hello, is there a possible way to read the monthly DEM Consumption on Applications. For Host Units there is a possible way with "consumedHostUnits" from "/entity/infrastructure/hosts", but what is with the DEM? I search something like "consumedDEMUnits" 🙂
Since we have to charge the DEM consumption per application per month internally, this would be very helpful.
Solved! Go to Solution.
23 Jul 2020 03:34 PM
Have you looked at if any of the metrics under the 'Billing' category will help? You should be able to calculate DEM consumption based off of these:
23 Jul 2020 03:57 PM
Thanks, well i need the DEM Consumption from API because i have to give this Numbers forward to another system (i already use python for that).
23 Jul 2020 04:08 PM
I used the custom chart just to show what metrics are available, but all of these that are available there are also available through the v2 metrics API:
24 Jul 2020 08:16 AM
I do believe calculation of spent DEMs based on these values is just an approximation of the real DEMs spent. A user session might be split into several ones (sessions with more than 200 actions). I think each of such session will be counted here, but just a first one will be billed. You can see that when opening a session:
23 Jul 2020 06:34 PM
We currently use these as well. It will be even better once custom metrics are added as well.