kumina / dovecot_exporter

Prometheus metrics exporter for Dovecot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to scrape socket: strconv.ParseFloat

f1-outsourcing opened this issue · comments

should this work with dovecot 2.2? I am getting these

2020/12/28 12:30:14 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:30:29 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:30:44 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:30:59 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:31:14 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:31:29 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:31:44 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:31:59 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:32:14 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:32:29 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:32:44 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:32:59 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:33:14 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:33:29 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:33:44 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:33:59 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:34:14 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax
2020/12/28 12:34:29 Failed to scrape socket: strconv.ParseFloat: parsing "\"\" \"*\"": invalid syntax

./dovecot_exporter --dovecot.scopes="command"

switched to user with ./dovecot_exporter --dovecot.scopes="user" now it is fine. But command is still a valid option.

https://doc.dovecot.org/configuration_manual/stats/old_statistics/#old-statistics

Using session also gives me

Failed to scrape socket: strconv.ParseFloat: