-
It seems the ordering of JSON array elements is not deterministic and may differ between downloads even though the config didn't actually change for the tenant/environment at all. This makes diffing and versioning of downloaded configs difficult if not impossible. Examples of JSON arrays whose elements appear in a non-deterministic/random order with each subsequent config download;
Is this a general/known limitation of the Dynatrace API? Also, the generated config yaml suffers from a similar issue where the sequence of referenced JSON configs may change without any .json file being added or removed... Again, this makes diffing and version control of downloaded configs a challenge.... I understand the main goal of the tool is the automated config deployment at scale where the download function is currently more of a "goodie" in order to get started with creating templates, but nonetheless I think this could be improved going forward... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi about the random order for the elements in the json or in the yaml file, this is a behaviour from the current dynatrace api (I tested this with the api endpoint management zones) , this might be cover in the new api v2. @tatomir146 this might be a good input for the api meeting |
Beta Was this translation helpful? Give feedback.
Hi about the random order for the elements in the json or in the yaml file, this is a behaviour from the current dynatrace api (I tested this with the api endpoint management zones) , this might be cover in the new api v2. @tatomir146 this might be a good input for the api meeting