Report collector success/failure and duration per scrape. (#516)

This is in line with best practices, and also saves us
63 timeseries on a default Linux setup.
This commit is contained in:
Brian Brazil 2017-03-16 17:21:00 +00:00 committed by GitHub
commit a02e469b07
3 changed files with 48 additions and 17 deletions

View file

@ -35,7 +35,7 @@ cd "$(dirname $0)"
port="$((10000 + (RANDOM % 10000)))"
tmpdir=$(mktemp -d /tmp/node_exporter_e2e_test.XXXXXX)
skip_re="^(go_|node_exporter_|process_|node_textfile_mtime)"
skip_re="^(go_|node_exporter_build_info|node_scrape_collector_duration_seconds|process_|node_textfile_mtime)"
keep=0; update=0; verbose=0
while getopts 'hkuv' opt