Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exporting exitcode of script as metric #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

useful-devops-tools
Copy link

Unit tests passed successfully

git clone https://github.com/Rory898/script_exporter.git
Cloning into 'script_exporter'...
cd script_exporter
go test
go: downloading github.com/prometheus/client_golang v1.5.1
go: downloading github.com/prometheus/common v0.9.1
go: downloading gopkg.in/yaml.v2 v2.2.8
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading golang.org/x/sys v0.0.0-20200331124033-c3d80250170d
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/golang/protobuf v1.3.5
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/prometheus/procfs v0.0.11
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
go: downloading github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d
time="2020-07-20T11:18:08Z" level=info msg="ERROR: failure: exit status 1 (failed after 0.001056s)." source="script_exporter.go:91"
time="2020-07-20T11:18:10Z" level=info msg="ERROR: timeout: signal: killed (failed after 2.000578s)." source="script_exporter.go:91"
PASS

@useful-devops-tools
Copy link
Author

useful-devops-tools commented Jul 20, 2020

Addresses issue #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant