You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus version 2 does not like non-string label values. The following output
ssh_exporter_test_simple_exit_status{name="test_simple",host="localhost",user="vagrant",script="echo output script",exit_status=0} 0
Note the lack of quotes around exit_status. This causes Prometheus to throw an error when trying to parse the page. "No token found" will be seen in the prometheus logs and the results are not stored in the TSDB.
Prometheus version 2 does not like non-string label values. The following output
ssh_exporter_test_simple_exit_status{name="test_simple",host="localhost",user="vagrant",script="echo output script",exit_status=0} 0
Note the lack of quotes around exit_status. This causes Prometheus to throw an error when trying to parse the page. "No token found" will be seen in the prometheus logs and the results are not stored in the TSDB.
Updated the output to quote the results.
ssh_exporter_test_simple_exit_status{name="test_simple",host="localhost",user="vagrant",script="echo output script",exit_status="0"} 0
The text was updated successfully, but these errors were encountered: