# Proxy turns third-party into calls to unmonitored host

**URL:** <https://community.dynatrace.com/t/proxy-turns-third-party-into-calls-to-unmonitored-host/32438>\
**Category:** Open Q&A\
**Tags:** services-classic, dynatrace-api\
**Created:** [August 18, 2021, 3:54pm UTC](https://community.dynatrace.com/t/proxy-turns-third-party-into-calls-to-unmonitored-host/32438 "2021-08-18T15:54:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [August 18, 2021, 3:54pm UTC](https://community.dynatrace.com/t/proxy-turns-third-party-into-calls-to-unmonitored-host/32438/1 "2021-08-18T15:54:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sia\_h](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@sia\_h](https://community.dynatrace.com/u/sia_h)\
**Post date:** [August 18, 2021, 10:57pm UTC](https://community.dynatrace.com/t/proxy-turns-third-party-into-calls-to-unmonitored-host/32438/2 "2021-08-18T22:57:19Z")

</div>

Hi Henk,

It should be possible to create a separate service for calls to unmonitored hosts using the [Service detection API](https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/detection-rules/). Here is also a [blog post](https://www.dynatrace.com/news/blog/new-dynatrace-api-enhances-automatic-service-detection/#unmonitored) with an example.

Sia

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [August 20, 2021, 3:23pm UTC](https://community.dynatrace.com/t/proxy-turns-third-party-into-calls-to-unmonitored-host/32438/3 "2021-08-20T15:23:53Z")

</div>

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