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/"
so the exporter log "2018/08/08 11:00:46 json.Unmarshal failed invalid character 'A' looking for beginning of value
"
why???
thanks
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/" so the exporter log "2018/08/08 11:00:46 json.Unmarshal failed invalid character 'A' looking for beginning of value " why??? thanks