# how to enable a single metrics only?

**URL:** https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542
**Category:** Help
**Created:** [August 13, 2023, 6:59am UTC](https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542 "2023-08-13T06:59:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RandomNet](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RandomNet](https://community.netdata.cloud/u/RandomNet)
#### Post date: [August 13, 2023, 6:59am UTC](https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542/1 "2023-08-13T06:59:57Z")

</div>

I can read in docs how to disable particular metrics:

> **[How to optimize the Netdata Agent's performance | Learn Netdata](https://learn.netdata.cloud/docs/configuring/how-to-optimize-the-netdata-agent-s-performance#disable-unneeded-plugins-or-collectors)**
>
> While the Netdata Agent is designed to monitor a system with only 1% CPU, you can optimize its performance for low-resource systems.

But it is completely unclear to me how can I enable only one metric, for example `python.d/dovecot.conf` keeping all other current and future metrics disabled?

Do I need to manually disable other `python.d` metrics one by one? In that case what will happen if a new version of netdata add another `python.d` metrics, will be it enabled by default and I would have to carefully watch upgrades?

---

<div class="post-metadata">

### Author: ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)
#### Post date: [August 15, 2023, 6:02pm UTC](https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542/2 "2023-08-15T18:02:50Z")

</div>

you would need to disable all plugins you don’t need or want: [Collectors configuration reference | Learn Netdata](https://learn.netdata.cloud/docs/data-collection/collectors-configuration#enable-and-disable-plugins)

that way you could disabled all other plugins, apart from python.d.

and then you may need to just customise the python.d.conf file to disable and default enabled python plugins and just leave the dovecot one enabled.

---

<div class="post-metadata">

### Author: ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)
#### Post date: [August 15, 2023, 6:05pm UTC](https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542/3 "2023-08-15T18:05:06Z")

</div>

this chatgpt actually explains it well too [Configure Netdata for Dovecot](https://chat.openai.com/share/42ad35bb-e818-4818-a795-b3bfb5076d24)

---

<div class="post-metadata">

### Author: ![RandomNet](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RandomNet](https://community.netdata.cloud/u/RandomNet)
#### Post date: [August 16, 2023, 3:45am UTC](https://community.netdata.cloud/t/how-to-enable-a-single-metrics-only/4542/4 "2023-08-16T03:45:22Z")

</div>

Thank you, it was helpful, I need to disable all-in-one `python.d` plugins and enable only one which I need.

It was not clear from the documentation, but now is clear.
