cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Proxy turns third-party into calls to unmonitored host

henk_stobbe
DynaMight Leader
DynaMight Leader

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

2 REPLIES 2

sia_h
Dynatrace Pro
Dynatrace Pro

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

henk_stobbe
DynaMight Leader
DynaMight Leader

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"
}
}

Featured Posts