Open JayashriKK opened 5 years ago
Hi .. New to Prometheus. Below is my prometheus.yml file.
global: scrape_interval: 15s
scrape_configs:
/etc/script-exporter$ sudo ./script-exporter -script.path /path/to/my/scripts -web.listen-address :9661 2019/07/12 15:39:34 error parsing output from script 'script2': Error parsing Prometheus TextFormat: text format parsing error in line 1: expected float as value, got ""
How to fix this?
It sounds like script2 isn't outputting in the correct format, see https://prometheus.io/docs/instrumenting/exposition_formats/
Hi .. New to Prometheus. Below is my prometheus.yml file.
global: scrape_interval: 15s
scrape_configs:
/etc/script-exporter$ sudo ./script-exporter -script.path /path/to/my/scripts -web.listen-address :9661 2019/07/12 15:39:34 error parsing output from script 'script2': Error parsing Prometheus TextFormat: text format parsing error in line 1: expected float as value, got ""
How to fix this?