We have a customer where we create dynatrace configuration for new applications automatically via ansible during onboarding.
We ran into an issue with tagging, because the Monitored entities - Custom tags API Endpoint in the Environment API v2 does not work for applications that have not received any user actions recently.
So we can't use it to tag the applications we just created, as they have not received any traffic yet.
We also can't use the old v1 API for tagging, as it does not allow for key:vlaue pair tags.
Would be great if the new tagging API would work for application entities, even if they have not received any traffic yet.
Dear Patrick H,
In theory this should work! Which kind of app did you try this with? Web, Mobile, Hybrid? ....
My tryout for a web app on the most recent version: 1.208
1) created a new application using the web app config API
2) tagged using the environment api v2. to tag the previously created app.