cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reading DEM Consumption with API

urs_fischer
Helper

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.

5 REPLIES 5

JamesKitson
Dynatrace Guru
Dynatrace Guru

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:

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).

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:

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:

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

larry_roberts
DynaMight Champion
DynaMight Champion

We currently use these as well. It will be even better once custom metrics are added as well.

Featured Posts