Closed xujpxm closed 6 years ago
Maybe you should looking for the contents returned from vts api.
Mostly this error occurred when the contents are not json
string.
Fixed when I added the arg "-nginx.scrape_uri http://127.0.0.1/status/format/json ". 👍
I added the arg "-nginx.scrape_uri http://127.0.0.1/nginx-status/format/json ". but get no json Active connections: 2 server accepts handled requests 18 18 72 Reading: 0 Writing: 1 Waiting: 1
which is exactly same as I use "-nginx.scrape_uri http://127.0.0.1/nginx-status/"
why???
thanks
Scraping information, i got log error: " json.Unmarshal failed invalid character '<' looking for beginning of value"