29 Jul 2020 05:51 AM - last edited on 16 Dec 2021 07:12 AM by MaciejNeumann
How to pull out data from metrics api v2 which would contain data from one certain key request?
Should I use and obtain the entityID for my KeyRequest somehow and would there be possibility to filter the requests based on request parameters?
I can filter out some certain service but this call returns data from all the Key Requests and I would need to filter my data to one specific use case but can't get my head around how to do it.
I have tried go trough the documentation but I would appreciate if someone could offer some help how we could filter out data.
Solved! Go to Solution.
You are absolutely spot on! Your API call seems correct to me.
The key parts are:
Also, make sure your metric actually exists at the keyRequest level. On my environment for example, I have dbChildCall only at the service level:
Try using a generic one (for testing purposes) to ensure your call returns something. Maybe something like:
I hope this helps.