- Mark as New
- Subscribe to RSS Feed
- Permalink
‎18 Aug 2021
04:54 PM
- last edited on
‎15 Jun 2023
01:08 PM
by
Karolina_Linda
Hello,
Am I correct in assuming that when using a proxy to access a service on the internet, Dynatrace does not see a third-party call but a call to unmonitored host.
And so you can not create a custom device or separate service? )-;
KR Henk
Solved! Go to Solution.
- Labels:
-
dynatrace api
-
services classic
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎18 Aug 2021 11:57 PM
Hi Henk,
It should be possible to create a separate service for calls to unmonitored hosts using the Service detection API. Here is also a blog post with an example.
Sia
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎20 Aug 2021 04:23 PM
Hi Sia,
Sorry can only give you one Kudo, you are right!
UI with custom device does not work, but the API works perfect!
For reference the code so other people can save some time:
{
"type": "OPAQUE_AND_EXTERNAL_WEB_REQUEST",
"name": "Here the Name",
"description": "Some description",
"enabled": true,
"conditions":
[
{ "attributeType": "URL_HOST_NAME",
"compareOperations":
[
{
"type": "STRING_CONTAINS",
"ignoreCase": "false",
"values": ["Here the hostname from the URL"]
}
]
}
],
"applicationId": {
"valueOverride": "The new service name"
},
"port": {
"doNotUseForServiceId": "true"
}
}
