23 Jan 2025
	
		
		03:45 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		24 Jan 2025
	
		
		07:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
Hello
I hope this message finds you well. I am trying to retrieve the builtin:apps.web.action.duration.load.browser metric using the Metrics v2 API, but I am consistently receiving an empty response, as shown below:
{
    "totalCount": 0,
    "nextPageKey": null,
    "resolution": "1d",
    "result": [
        {
            "metricId": "builtin:apps.web.action.duration.load.browser",
            "dataPointCountRatio": 0.0,
            "dimensionCountRatio": 0.0,
            "data": []
        }
    ]
}
https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:apps.web.action.duration.load.browser&from=now-7d&to=now&resolution=1d
Could you please confirm:
Thank you for your assistance! Please let me know if you need further details about my environment or the API calls I’m making.
Solved! Go to Solution.
23 Jan 2025 04:16 PM
I found the error it's the name of the metric: builtin:apps.web.actionDuration.load.browser
I try now to have only one value and agregate all application or browser.