mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 22:07:27 -08:00
4f7adbbe7d
The LevelDB stochastic tests could take a long time. Original: ``` Matt:prometheus mtp$ make test make -C model protoc --go_out=generated/ data.proto go build ./... go test ./... warning: building out-of-date packages: github.com/matttproud/golang_instrumentation/maths github.com/matttproud/golang_instrumentation/utility github.com/matttproud/golang_instrumentation/metrics github.com/matttproud/golang_instrumentation installing these packages with 'go test -i ./...' will speed future tests. ? github.com/matttproud/prometheus [no test files] ? github.com/matttproud/prometheus/coding [no test files] ok github.com/matttproud/prometheus/coding/indexable 0.012s ? github.com/matttproud/prometheus/model [no test files] ? github.com/matttproud/prometheus/model/generated [no test files] ? github.com/matttproud/prometheus/retrieval [no test files] ? github.com/matttproud/prometheus/storage/metric [no test files] ok github.com/matttproud/prometheus/storage/metric/leveldb 70.800s ? github.com/matttproud/prometheus/storage/raw [no test files] ? github.com/matttproud/prometheus/storage/raw/index [no test files] ok github.com/matttproud/prometheus/storage/raw/index/leveldb 0.012s ok github.com/matttproud/prometheus/storage/raw/leveldb 0.016s ok github.com/matttproud/prometheus/utility 0.012s ? github.com/matttproud/prometheus/utility/test [no test files] ``` to ``` Matt:prometheus mtp$ make test make -C model protoc --go_out=generated/ data.proto go build ./... go test ./... warning: building out-of-date packages: github.com/matttproud/golang_instrumentation/maths github.com/matttproud/golang_instrumentation/utility github.com/matttproud/golang_instrumentation/metrics github.com/matttproud/golang_instrumentation installing these packages with 'go test -i ./...' will speed future tests. ? github.com/matttproud/prometheus [no test files] ? github.com/matttproud/prometheus/coding [no test files] ok github.com/matttproud/prometheus/coding/indexable 0.011s ? github.com/matttproud/prometheus/model [no test files] ? github.com/matttproud/prometheus/model/generated [no test files] ? github.com/matttproud/prometheus/retrieval [no test files] ? github.com/matttproud/prometheus/storage/metric [no test files] ok github.com/matttproud/prometheus/storage/metric/leveldb 2.158s ? github.com/matttproud/prometheus/storage/raw [no test files] ? github.com/matttproud/prometheus/storage/raw/index [no test files] ok github.com/matttproud/prometheus/storage/raw/index/leveldb 0.013s ok github.com/matttproud/prometheus/storage/raw/leveldb 0.013s ok github.com/matttproud/prometheus/utility 0.013s ? github.com/matttproud/prometheus/utility/test [no test files] ``` |
||
---|---|---|
coding | ||
model | ||
retrieval | ||
storage | ||
utility | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTORS.md | ||
LICENSE | ||
main.go | ||
Makefile | ||
Makefile.TRAVIS | ||
README.md |
Prometheus
Bedecke deinen Himmel, Zeus! A new kid is in town.
Prerequisites
- Go 1.0.X.
- LevelDB: (https://code.google.com/p/leveldb/).
- Protocol Buffers Compiler: (http://code.google.com/p/protobuf/).
- goprotobuf: the code generator and runtime library: (http://code.google.com/p/goprotobuf/).
- Levigo, a Go-wrapper around LevelDB's C library: (https://github.com/jmhodges/levigo).
Initial Hurdles
- A bit of this grew organically without an easy way of binding it all together. The tests will pass but slowly. They were not optimized for speed but end-to-end coverage of the whole storage model. This is something immediate to fix.
- Protocol Buffer generator for Go changed emitted output API. This will need to be fixed before other contributors can participate.
Milestones
- In-memory archive, basic rule language, simple computation engine, and naive exposition system.
License
Apache License 2.0