Is there any dynatrace API which we can utilise to fetch the configured quotas / limits (which we have configured on our own ) for Host units, DDUs and other license info?
So, what we see in the dynatrace UI (called as max limits / quotas), I NEED TO FETCH THAT INFO USING THE API and then calculate how much DDUs/HUs quota is left in my dynatrace environment. (after subtracting it from the consumed DDUs/HUs)
Thank you in advance !!
Solved! Go to Solution.
I am NOT looking for license consumption data. This I already know. 🙂
I am looking for an api which could fetch me the configured quotas / (max) limits for license consumption / HU / DDU.
I would use the settings API for this, as each configuration variable is reflected in a parameter object: https://www.dynatrace.com/support/help/shortlink/api-v2-settings
Here is a more comprehensive description:
However, these settings only apply to a specific environment and not to the entire Dynatrace Managed (or SaaS) cluster. If you want to get the information from the CMC, you have to use the cluster API (I don't know if such detailed license consumption limit settings are available).
Thanks @radek_jasinski .
I used this api https://www.dynatrace.com/support/help/managed-cluster/cluster-api/cluster-api-v2 and is able to fetch the quotas.
However, the values are coming different from the ones which I see the dynatrace console. For some environments, the values are correct (HU/DDU and other values) & for some environments, the values are wrong.
This is an unexpected bahavior.
I don't understand which one is correct?
the api call or the dynatrace console