Hi, I’m seeing one of these lines per second:
time="2019-03-26T14:27:45-04:00" level=error msg="error gathering metrics: 2 error(s) occurred:\n* collected metric node_textfile_mtime label:<name:"file" value:"example.prom" > gauge:<value:1.542383604e+09 > was collected before with the same name and label values\n* collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n" source="log.go:172"
time="2019-03-26T14:27:46-04:00" level=error msg="error gathering metrics: 2 error(s) occurred:\n* collected metric node_textfile_mtime label:<name:"file" value:"example.prom" > gauge:<value:1.542383604e+09 > was collected before with the same name and label values\n* collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n" source="log.go:172"
is there something I can do to stop it?
[root@hostname log]# locate example.prom
/usr/local/percona/pmm-client/textfile-collector/example.prom
[root@hostname log]# head /usr/local/percona/pmm-client/textfile-collector/example.prom
## # Below is an example of a full-fledged Prometheus metric exposition,
## # including comments, HELP and TYPE expressions, a histogram, a summary,
## # character escaping examples, and more. It is taken from:
## # [url]https://prometheus.io/docs/instrumenting/exposition_formats/#text-format-example[/url]
## # More details about textfile collector you can find at:
## # [url]https://github.com/prometheus/node_exporter#textfile-collector[/url]
## #
## # HELP http_requests_total The total number of HTTP requests.
## # TYPE http_requests_total counter
## http_requests_total{method="post",code="200"} 1027 1395066363000