mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-30 07:59:53 -08:00
Merge pull request #42 from prometheus/readme-makefile-update
Add tests and run info to README.md and Makefile.
This commit is contained in:
commit
8c86a752c7
5
Makefile
5
Makefile
|
@ -61,7 +61,10 @@ release: REMOTE_DIR ?= $(error "can't release, REMOTE_DIR not set")
|
||||||
release: $(ARCHIVE)
|
release: $(ARCHIVE)
|
||||||
scp $< $(REMOTE):$(REMOTE_DIR)/$(ARCHIVE)
|
scp $< $(REMOTE):$(REMOTE_DIR)/$(ARCHIVE)
|
||||||
|
|
||||||
|
test: $(GOCC) dependencies
|
||||||
|
$(GO) test ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf node_exporter .deps
|
rm -rf node_exporter .deps
|
||||||
|
|
||||||
.PHONY: dependencies clean release
|
.PHONY: clean default dependencies release test
|
||||||
|
|
|
@ -3,6 +3,15 @@
|
||||||
Prometheus exporter for machine metrics, written in Go with pluggable metric
|
Prometheus exporter for machine metrics, written in Go with pluggable metric
|
||||||
collectors.
|
collectors.
|
||||||
|
|
||||||
|
## Building and running
|
||||||
|
|
||||||
|
make
|
||||||
|
./node_exporter <flags>
|
||||||
|
|
||||||
|
## Running tests
|
||||||
|
|
||||||
|
make test
|
||||||
|
|
||||||
## Available collectors
|
## Available collectors
|
||||||
|
|
||||||
By default the build will include the native collectors that expose information
|
By default the build will include the native collectors that expose information
|
||||||
|
|
Loading…
Reference in a new issue