06 Dec 2024 08:42 PM - last edited on 09 Dec 2024 08:13 AM by MaciejNeumann
hi all, we are using DT API and we have some questions about its usage:
1) can we edit the info that we retrieve from the API? Example: we are getting the total amount of problems of the environment through API and we would like to bring the problems just from 2 hours ago. how can we do this ?
2) when using api do we need internet connection ? the servers itself doesnt have internet connection and we use them with a proxy
07 Dec 2024 02:40 PM
Regarding the raised concerns:
Connectivity between Dynatrace and API endpoint or Postman should be conducted properly even through proxy , it won't be an issue as long as the communication is stable.
The attached URL will guide you to accomplish the objective:
As simple as that specify the below attached parameters.
For Sorting:
Tip:
Hoping it helps.
KR,
Peter.
07 Dec 2024 02:43 PM
Hello @MariettaAlmeida
For detailed info about the Dynatrace problems API, fell free to review:
Regards,
Peter
07 Dec 2024 02:47 PM
For detailed information about Davis AI and problem generation feel free to review:
Kindly note:
BR,
Peter
07 Dec 2024 02:53 PM
Regarding the metrics point, it can be exposed under Observe and explore:
You can customize the preferred visualizations through dashboard or creating a metric events for alerting as per monitoring requirements.
Hoping it adds value.
BR,
Peter
09 Dec 2024 04:07 PM
thank you all, we are using Postman and when using the table visualization it shows just 10 problems from a total of 15 problems, how can we see the total amount of problems ? is like the table trim the data.
here is the total count
and the total of problems on postman page
12 Dec 2024 02:35 PM - edited 12 Dec 2024 02:41 PM
Hi.
So, in general, if pagination occurs, you'd do further calls as needed, using only the querying parameter nextPageKey with the value shown in the last call
About giving you only the first 10: as it is shown in the screenshot, either it is what was asked for in pageSize, or it is a default.
Kind regards,
Paulo.
02 Jan 2025 04:28 PM
Hi, @MariettaAlmeida! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂