25 Oct 2022 03:52 PM - last edited on 29 May 2023 09:46 AM by MaciejNeumann
I already have a collection for Postman you can find here.
I had a few requests for a Insomnia collection as well, so I created one. With this you have all Dynatrace API Endpoints in Insomnia and can switch easily between different dynatrace environments, clusters or tenants via Insomnia Environments.
I have put the files on github, maybe someone will find it useful.
Setup is very quick, then you can just select the request and environment against which to execute it.
Here is a short guide:
Import collection
Import (Application -> Preferences -> Data -> Impot Data) .json file for the APIs.
A collection Dynatrace APIs will be created with subfolders for each API:
Create environments
For each of your dynatrace environments you want to use, add a insomnia environment environment dropdown -> Manage Environments:
You can adapt the Example Environment or create new ones based on it, you need to adjust the following:
Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top left.
09 Jan 2023 10:25 PM
Thanks for the Pro Tip @pahofmann
05 Mar 2023 03:04 PM
Perhaps you can make the json file easy to download as you did for the postman collection.
06 Mar 2023 12:43 PM
You can find the JSON under releases on github: https://github.com/pahofmann/dynatrace-insomnia-collection/releases/tag/1.248