Hi people,
I’m looking for a way to get all the key requests i have setted on my environment.
At the moment i have been using two different ways to get it:
1º Using Data explorer;
2º Using multidimensional analysis;
But both ways are based on the timeframe so it’s not accurate as I need.
Hopefully the community can give me some ideas to find a way to get all the key request i have on my environment not depending by timeframe.
More like to show a vision about the limit of licenses i still have free.
see previous post and I gave a dashboard you can use to get key requests. I know still has timeframe but but I could do after talking with Dynatrace team.
https://community.dynatrace.com/t5/Open-Q-A/How-to-view-all-key-requests/m-p/214386
Also another post on limits in another post: https://community.dynatrace.com/t5/Product-ideas/Dynatrace-Imposed-Limit-Tracker/idi-p/214621
Hi,
below you can find a short snippet of a method in Python that you can use to get all key requests:
def getKeyRequests(): url = ROOT_URL + “/api/v2/entities” parameters = { ‘entitySelector’: ‘type(SERVICE_METHOD),fromRelationships.isServiceMethodOfService(type(SERVICE))’, ‘from’: ‘now-10M’ } res = requests.get(url, headers=HEADER, verify=False, params=parameters) json_data = json.loads(res.text) return json_data[“entities”]