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

I can not get the API to collect the %CPU of a monitor host



I need to collect Memory, CPU of a Host.

I also need to collect Response time of a service.

I read the API Document but didn't understand what to do.

Can you give me an exemple then i will learn from it

Can you help me?



Community Team
Community Team

Hello @EBA'A CHI O.,

Remember to never provide the Dynatrace environment ID in your question. Here are a couple of tips on how to ask the best question on our forum and increase your chances of getting a quick and precise answer:


Dynatrace Mentor
Dynatrace Mentor

Hello @EBA'A CHI O.,

Here is an example request to capture host CPU idle for every hour in the last day:

Keep in mind you will also need your token for this.

Here are some good resources for creating these requests:

Also, if you haven't tried. Go to your tenant and click the user icon. Under "dynatrace API" select "Environment API". This gives you a pretty great interface for creating a simple query.

Let me know if you need more help.