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

Metrics Via V2 API

subhan
Newcomer_

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

2 REPLIES 2

GosiaMurawska
Community Team
Community Team

Hi, @subhan! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂

Julius_Loman
DynaMight Legend
DynaMight Legend

@subhan you can use the Metric application (or the Metrics API) to search for metrics having dimensions for entity types) :

Julius_Loman_0-1736159363298.png

Afaik there is no option to list all metrics which are present for a single particular entity (e.g. a particular host for example).

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts