-
|
I am seeing duplicate Prometheus exporter metrics in my dashboard and can see netdata trying to add/connect to another service that just happens to use a port from the very long list of known Prometheus exporter ports (port 56300 is actually not on it). When I remove my explicit 'TeamSpeak' configuration from the config, the metrics with the ugly name remain and continue to receive new data, while the 'TeamSpeak' one stops receiving data (as expected). I wasn't able to find anything related to Prometheus auto-detection in the logs. Some reasons for me to configure the exporters manually:
My # https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/prometheus#readme
autodetection_retry: 0
jobs:
- name: nftables
url: 'http://[::1]:56300/metrics'
- name: TeamSpeak
url: 'http://127.0.0.1:56301/metrics'
selector:
deny:
- promhttp_metric_handler_*
- name: DNSCrypt-Proxy
url: 'http://[::1]:57014/metrics'My logs filtered by Prometheus ( Thanks for any tips or insight ^^ |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi, @SpraxDev. You can disable autodetection by configuring
|
Beta Was this translation helpful? Give feedback.
-
Netdata detects exporters not only by known Prometheus ports, but also by the binary name - if the binary name contains "exporter", then it is most likely a Prometheus exporter. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for pointing me to the relevant file! And now I understand why these exporters 'suddenly' showed up. I was already confused whether I got netdata in some weird state or broke a configuration file. I'd say non-Prometheus exporters can also habe exporter in their (binary) name but being able to disable it makes me happy already. Looks like the file is responsible for auto-detection in general, so I will try to remove the two Prometheus related sections and see where that leads me. |
Beta Was this translation helpful? Give feedback.

Hi, @SpraxDev. You can disable autodetection by configuring
go.d/sd/net_listeners.confdisabledtoyes