we have configured kubernetes(EKS) monitoring in Dyntrace using classic full stack approach(Dynatrace operator), its monitoring one EKS cluster.
we want to calculate DDU consumption for this EKS cluster itself.
I tried pull report from API V2(/metrics/query Gets data points of the specified metrics) with MZ in entity selector but its not accurate.
please help me with DDU metrics and entities I need to use in entity selector.
Solved! Go to Solution.
On the left hand menu, you can navigate to "Consumption" and then display DDU consumption based on entity type or specific monitored entities:
You can also use the data explorer. Just type in DDU and you can see all of the different metrics you can use. You can then split or filter by entity/entity type:
Thanks Bradley for reply,
I tried with API V2 to pull DDU consumption.
API v2 ->GET /metrics/query Get data points on specified metrics.
Entity selector string -> Management zone ID: mzId(5609914021514676), mzId of kubernetes cluster.
metricSelector: added all 15 metrics related to DDU
It gives me output with DDU consumption for whole Dynatrace environment not specific to k8s cluster.
Along with mzId I need to pass entityIDs related to K8s cluster so I am not getting which all entityIDs I have to pass.
@Gogi DDU always shows data at environment level even though if you select any metrics it wouldn't work if you filter with management zone. Only Host unit can be visible according to management zone but DDU is for environment level. Try to explore consumption option which is suggested by @bradley_danyo to see get DDU for K8S cluster.