Add tests and run info to README.md and Makefile.

This commit is contained in:
Julius Volz 2015-02-09 22:41:51 +01:00
parent 646d8de896
commit effc934777
2 changed files with 13 additions and 1 deletions

View File

@ -61,7 +61,10 @@ release: REMOTE_DIR ?= $(error "can't release, REMOTE_DIR not set")
release: $(ARCHIVE)
scp $< $(REMOTE):$(REMOTE_DIR)/$(ARCHIVE)
test: $(GOCC) dependencies
$(GO) test ./...
clean:
rm -rf node_exporter .deps
.PHONY: dependencies clean release
.PHONY: clean default dependencies release test

View File

@ -3,6 +3,15 @@
Prometheus exporter for machine metrics, written in Go with pluggable metric
collectors.
## Building and running
make
./node_exporter <flags>
## Running tests
make test
## Available collectors
By default the build will include the native collectors that expose information