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

DDU license consumption for kubernetes(EKS) monitoring

Gogi
Helper

Hi All,

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.

 

3 REPLIES 3

bradley_danyo
Dynatrace Mentor
Dynatrace Mentor

Hi Gogi,

 

On the left hand menu, you can navigate to "Consumption" and then display DDU consumption based on entity type or specific monitored entities:

bradley_danyo_0-1657641269538.png

bradley_danyo_1-1657641290302.png

 

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:

bradley_danyo_2-1657641362532.png

 

Gogi
Helper

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.

  • builtin:billing.ddu.metrics.total
  • builtin:billing.ddu.metrics.byEntity
  • builtin:billing.ddu.metrics.byMetric
  • builtin:billing.ddu.log.total
  • builtin:billing.ddu.log.byEntity
  • builtin:billing.ddu.log.byDescription
  • builtin:billing.ddu.serverless.total
  • builtin:billing.ddu.serverless.byEntity
  • builtin:billing.ddu.serverless.byDescription
  • builtin:billing.ddu.events.total
  • builtin:billing.ddu.events.byEntity
  • builtin:billing.ddu.events.byDescription
  • builtin:billing.ddu.traces.total
  • builtin:billing.ddu.traces.byEntity
  • builtin:billing.ddu.traces.byDescription

 

Sujit
Advisor

@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. 

 

Thanks,

Sujit

Dynatrace Certified Professional

Featured Posts