PMM2 and textfile collector?

Hi,is the textfile collector no longer present in PMM2?I can’t find any information about how to enable it, it doesn’t seem to be mentioned in the online manual at all.
“pmm-admin
add linux – --collectors.enabled…” obviously is no longer possible,
and the metrics I get with PMM1 from textfile exporter are not present
in the PMM2’s Prometheus.Looks like there is no more textfile collector?
Greetings,Steffen

Hi Steffen,
Node exporter starts with next flags by default.
–collector.textfile.directory.hr=/usr/local/percona/pmm2/collectors/textfile-collector/high-resolution
–collector.textfile.directory.lr=/usr/local/percona/pmm2/collectors/textfile-collector/low-resolution
–collector.textfile.directory.mr=/usr/local/percona/pmm2/collectors/textfile-collector/medium-resolution
–collector.textfile.hr --collector.textfile.lr  --collector.textfile.mr

So you may place your file into one of folders refer to a required rate scraping.


Thanks @adivinho . I stumbled over the paths in the output of “ps a”, after posting my question. :slight_smile: