The <ID> is your environment id. If you look at the Dynatrace UI and your browser, this is the part before the ".live.dynatrace.com". The easiest way to find out the correct url for the check is:
Please note, the "rx" from the documentation is outdated. We will update it. This check is only for auto injected applications when using the Dynatrace OneAgent. If you use agentless monitoring this approach is not needed, as the monitoring signal (beacon) is going from the browser to the Dynatrace infrastructure.
@Alexander S. Hi Alexander, that worked thank you.
One question is the ?type=check request is reporting an agentVersion less than the UI is reporting (UI reporting: Host is monitored. Dynatrace OneAgent is up-to-date on version 1.119), check above is reporting (state=ok&agentType=java&agentVersion=18.104.22.16870317-052013).
Any idea why?
I'm using Dynatrace Managed, which URL should I use ?
https://www.mydomain.com is the URL of the monitored application or of the Dynatrace Cluster ?
What if the monitored application is using a context ?