# Difference between disabling auto-injection and Deep monitoring at PG level

**URL:** <https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216>\
**Category:** Open Q&A\
**Tags:** deep-monitoring, process-groups\
**Created:** [November 9, 2022, 2:33pm UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216 "2022-11-09T14:33:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gogi](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gogi](https://community.dynatrace.com/u/Gogi)\
**Post date:** [November 9, 2022, 2:33pm UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/1 "2022-11-09T14:33:43Z")

</div>

Hi,

I want to know on below settings, please help me to understand

1.what happens when we disable auto-injection at host level.

2. what happens when we disable deep monitoring at PG level.

Regards,

Gogi

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [November 11, 2022, 6:13pm UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/2 "2022-11-11T18:13:13Z")

</div>

Hi Gogi,

[OneAgent configuration via command-line interface | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-configuration-via-command-line-interface#injection)&nbsp;: “Automatic OneAgent injection is enabled by default in Infrastructure Monitoring mode to get and report the JMX/PMI metrics.”

So, Infra-only mode, minimal injection to gain JMX/PMI metrics to all process of this kind. So, kinda scratching the surface. Low, but not 0 probabiltiy to break something in this process.

[Process deep monitoring](https://www.dynatrace.com/support/help/shortlink/process-group-monitoring)&nbsp;:“End-to-end visibility into requests of all auto-detected server-side services, including database services.”. Requires full stack monitoring enabled and monitors much more. And goes&nbsp; much more deeper in the processes potentially breaking it.

We have all 3 kinds of monitoring in our DT ENV: infra-only with no autoinjection, infra-only, fullstack.

Regards,

I.

---

<div class="post-metadata">

**Author:** ![Gogi](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gogi](https://community.dynatrace.com/u/Gogi)\
**Post date:** [November 14, 2022, 4:50am UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/3 "2022-11-14T04:50:52Z")

</div>

[@Ingrida](https://community.dynatrace.com/user/41084)&nbsp;thanks for the explanation.

---

<div class="post-metadata">

**Author:** ![Gogi](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gogi](https://community.dynatrace.com/u/Gogi)\
**Post date:** [November 15, 2022, 11:45am UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/4 "2022-11-15T11:45:25Z")

</div>

[@Ingrida](https://community.dynatrace.com/user/41084)&nbsp; - Please is it possible to provide smartscape view snapshots from all DT ENVs 3 (infra-only with no autoinjection, infra-only, fullstack), particularly I want to understand from processes communication point of view.

Thanks.

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [November 21, 2022, 6:03pm UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/5 "2022-11-21T18:03:27Z")

</div>

Hi Gogi,

sorry, missed a track a bit. I am not sure what you need either. Lets give a try.

Infraonly (both) looks sad in a smartscape view., just Datacenter, Hosts and Processes level available (at least out of the box):

 ![infra_only.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/3/329a21eb6c1849da142ec8da7a18414a327bce40.jpeg)

In full stack you will see services and applications (if you define any)

Regards,

I.

---

<div class="post-metadata">

**Author:** ![Ardhi](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Ardhi](https://community.dynatrace.com/u/Ardhi)\
**Post date:** [April 12, 2023, 5:30am UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/6 "2023-04-12T05:30:32Z")

</div>

Hi I,

can we do full-stack with no autoinjection?

sorry bumping old thread, recently we have a case at customer to troubleshoot memory leak and so far it’s only happening in full-stack mode.

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [April 12, 2023, 3:50pm UTC](https://community.dynatrace.com/t/difference-between-disabling-auto-injection-and-deep-monitoring-at-pg-level/37216/7 "2023-04-12T15:50:34Z")

</div>

Hi&nbsp;[@Ardhi](https://community.dynatrace.com/user/51035)&nbsp;,

well… I am not Dynatrace DEV to know how it works in deep, but fullstack relies on dt code being injected into application code to intercept communication and so provide information which you gain running in full-stack. No auto-injections means no injection at all. Not even minimum. I strongly guess it will not fly.

Regards,

I.
