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

Create a chart for Host Unit consumption



is there a way to create a chart for HU consumption like the one we have on DEM units with the Billing section ?

If not do you have any suggestions ? how do you deal with this subject ?

Thank you




Same need here also...

DynaMight Legend
DynaMight Legend

Hello everyone. This use to be possible via the UI and was quite easy, but now you will need to resort to the Environment API for this data to be pulled.

If you are a SAS customer you can also Navigate to the Cluster page, just like in Managed, and see the overall consumption as well as per the environment. This will show as host unit hours or host units - depending on you contract.


DynaMight Legend
DynaMight Legend

You can also use the following:


Is there a way to create this report in an automated manner so the data can be extracted and loaded to a visualization tool or Dynatrace itself?

Hi, the tool is first doing an API call to



Which returns a JSON doc with lots of fields but the one you care about is consumedHostUnits:

  "consumedHostUnits": 0.25


From there, the tool is performing this logic to calculate the different figures.


If you'd like Dynatrace to build this automated report for you, I'd advise speaking to your local Dynatrace Services team lead who will be able to assist.

Hello. Is this dashboard still available?


I'm using a custom extension "missing metrics" that calculates the HU consumption per host/hostgroup/tag and reports this back to dynatrace as a metric so we can put it on a dashboard:


The AG extension is rather simple, uses the API to get entities and reports back the overall HU consumption per "licensebucket" tag. If you're interested I can share it.


Certified Dynatrace Master, Dynatrace Partner -

My primary scope is to calculate HU consumption per MZ. Please share it if we can filter consumption per MZ!

Thank you!


@Theodore_x86  I have something similar to @r_weber's solution (not having that as AG extension), you can get the script from here:
It pushes back metric bound to the hosts, so you can easily then query the sum per MZ in Data Explorer and have that on a dashboard.

Also besides calculating it also can send event in case a host get disabled due to license exhaustion. (One event per host at the moment)

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

Hi @Julius_Loman 

This is great implementation!.

Downloaded the code, set 2 environment variables and run it.

With no time got invaluable information from the dashboard and problems that were created!  

Thanks for sharing!


dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Thanks for the positive feedback!

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

I'd like to get that if possible.


There needs to be an out-of-the box solution for the v2 API.  

Featured Posts