# Configure APM agent to disable sending metrics for specific endpoint

**URL:** <https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [January 22, 2021, 7:40pm UTC](https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957 "2021-01-22T19:40:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaoantao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaoantao/32/6546_2.png) [@joaoantao](https://discuss.elastic.co/u/joaoantao)\
**Post date:** [January 22, 2021, 7:40pm UTC](https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957/1 "2021-01-22T19:40:11Z")

</div>

Is is possible to disable specific endpoints an application, eg: healthcheck endpoints from sending metrics in the agent?

What should be a best practice?  
Thank you.

**APM Server version** : v 7.10.2

**APM Agent language and version** : C#, NuGet Elastic.Apm package version="1.7.1"

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [January 22, 2021, 7:52pm UTC](https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957/2 "2021-01-22T19:52:18Z")

</div>

Hi @joaoantao,

there is a setting for this. [Here](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-http.html#config-transaction-ignore-urls) is the doc for it.

---

<div class="post-metadata">

**Author:** ![joaoantao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaoantao/32/6546_2.png) [@joaoantao](https://discuss.elastic.co/u/joaoantao)\
**Post date:** [January 23, 2021, 8:57am UTC](https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957/3 "2021-01-23T08:57:10Z")

</div>

Thank you @GregKalapos; somehow I've missed this while browsing the documentation.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2021, 4:57am UTC](https://discuss.elastic.co/t/configure-apm-agent-to-disable-sending-metrics-for-specific-endpoint/261957/4 "2021-02-13T04:57:21Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
