23 Mar 2020
03:16 AM
- last edited on
06 May 2021
05:44 AM
by
MaciejNeumann
Hello
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
Solved! Go to Solution.
Same need here also...
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.
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
https://*******.live.dynatrace.com/api/v1/entity/infrastructure/hosts?includeDetails=true
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.