Not the answer you need?
Register and ask your own question!

pmm-client log entries

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?
[[email protected] log]# locate example.prom
/usr/local/percona/pmm-client/textfile-collector/example.prom
[[email protected] 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:
## # https://prometheus.io/docs/instrumenting/exposition_formats/#text-format-example
## # More details about textfile collector you can find at:
## # https://github.com/prometheus/node_exporter#textfile-collector
## #
## # HELP http_requests_total The total number of HTTP requests.
## # TYPE http_requests_total counter
## http_requests_total{method="post",code="200"} 1027 1395066363000

Comments

  • Michael CoburnMichael Coburn Principal Architect, Percona Percona Staff Role
    Hi sidharrell
    You can safely move or delete the file /usr/local/percona/pmm-client/textfile-collector/example.prom
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.