# Django agent disable tracking some endpoints/methods

**URL:** <https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025>\
**Category:** APM\
**Created:** [June 7, 2018, 3:15pm UTC](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025 "2018-06-07T15:15:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ByEmke](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@ByEmke](https://discuss.elastic.co/u/ByEmke)\
**Post date:** [June 7, 2018, 3:15pm UTC](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025/1 "2018-06-07T15:15:05Z")

</div>

Hi there,

Is there any way to instruct the agent not to track given endpoints/methods?

e.g. We have `/ping` endpoints and some `OPTIONS` requests that are spamming the dashboards

---

<div class="post-metadata">

**Author:** ![ByEmke](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@ByEmke](https://discuss.elastic.co/u/ByEmke)\
**Post date:** [June 7, 2018, 3:20pm UTC](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025/2 "2018-06-07T15:20:28Z")

</div>

nvm, just discovered the `TRANSACTIONS_IGNORE_PATTERNS` option

---

<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:** [June 28, 2018, 11:20am UTC](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025/3 "2018-06-28T11:20:28Z")

</div>

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