12 Jul 2024 10:59 AM - last edited on 12 Jul 2024 03:20 PM by MaciejNeumann
Hello Everyone,
I am new to Dynatrace APIs, I am trying to get all metrics for any kind of entity using the entity ID. I'm facing problem in metricSelector for metric api V2 getDataPoint request. Is there any api for this or some generic metric selector that would be independent of type of entity ?
https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points
Solved! Go to Solution.
02 Jan 2025 02:45 PM
Hi, @subhan! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂
06 Jan 2025 10:31 AM
@subhan you can use the Metric application (or the Metrics API) to search for metrics having dimensions for entity types) :
Afaik there is no option to list all metrics which are present for a single particular entity (e.g. a particular host for example).