We need to be able to monitor consumed host unit/DEM/DDU licenses. Currently, Dynatrace only provides an API for UI users which provides these values (/rest/clustermanagement/license).
So we would like to be able to create alerts whenever we consume 90% of the assigned licenses.
Hi Patrik,
For creating alerting, you can use the following metrics:
- To control HU: dsfm:billing.hostunit.connected
- To control DEMs: builtin:billing.apps.web.sessionsWithReplayByApplication (DEMs for usersessions with session replay), builtin:billing.apps.web.sessionsWithoutReplayByApplication (DEMs for usersessions without session replay), builtin:billing.apps.web.userActionPropertiesByApplication (DEMs with useractions properties) and builtin:billing.synthetic.actions (DEM for synthetic)
- To control DDUs: builtin:billing.ddu.serverless.total (for Serverless), builtin:billing.ddu.metrics.total: (for custom metrics), builtin:billing.ddu.log.total (for logs), and builtin:billing.ddu.events.total (for events).
Hope it helps.
Regards,
Elena.
Hi Elena,
- To control HU: dsfm:billing.hostunit.connected
- Query in local self-monitoring environment: dsfm:billing.hostunit.connected:splitBy(“dt.tenant.uuid”):max:splitBy():sum
- This does not show how many host units are licensed within the cluster. So, an alert needs manual maintenance and must be adopted with each license change.
- On DEMs:
- These are environment specific metrics, so a cluster-wide alert is not possible.
- On DDU:
- These are environment-specific metrics, so a cluster-wide alert is not possible.
- DDU consumption is reported per reporting interval, e.g. 1 minute.
- Licensing is based on consumption over time. E.g. since the setup of the cluster. Such an aggregated alerting capability is not provided by Dynatrace.
So, I can agree with you that alerting on HU is theoretically possible, even if it is not comfortable. It is not possible for the others.