The Prometheus monitoring system and time series database.
Find a file
Matt T. Proud 4f7adbbe7d Reduce work level for stochastic tests.
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]
```
2013-01-04 12:27:57 +01:00
coding Add Apache License 2.0 boilerplate. 2012-11-26 20:11:34 +01:00
model Remove unneeded String() method for SampleValue type. 2013-01-04 12:12:18 +01:00
retrieval Impl' storage i'faces and fix non-idiomatic warts. 2013-01-04 10:39:38 +01:00
storage Reduce work level for stochastic tests. 2013-01-04 12:27:57 +01:00
utility Impl' storage i'faces and fix non-idiomatic warts. 2013-01-04 10:39:38 +01:00
.gitignore Include `.gitignore` based on upstream. 2012-11-25 16:12:59 +01:00
.travis.yml Add nascent Travis CI configuration. 2012-11-29 20:00:09 +01:00
CONTRIBUTORS.md Add nascent Travis CI configuration. 2012-11-29 20:00:09 +01:00
LICENSE Add Apache License 2.0 boilerplate. 2012-11-26 20:11:34 +01:00
main.go Impl' storage i'faces and fix non-idiomatic warts. 2013-01-04 10:39:38 +01:00
Makefile Take into account nuances for Mac OS X. :-( 2012-12-01 13:30:23 +01:00
Makefile.TRAVIS Impl' storage i'faces and fix non-idiomatic warts. 2013-01-04 10:39:38 +01:00
README.md Add Apache License 2.0 boilerplate. 2012-11-26 20:11:34 +01:00

Prometheus

Bedecke deinen Himmel, Zeus! A new kid is in town.

Prerequisites

  1. Go 1.0.X.
  2. LevelDB: (https://code.google.com/p/leveldb/).
  3. Protocol Buffers Compiler: (http://code.google.com/p/protobuf/).
  4. goprotobuf: the code generator and runtime library: (http://code.google.com/p/goprotobuf/).
  5. Levigo, a Go-wrapper around LevelDB's C library: (https://github.com/jmhodges/levigo).

Initial Hurdles

  1. 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.
  2. Protocol Buffer generator for Go changed emitted output API. This will need to be fixed before other contributors can participate.

Milestones

  1. In-memory archive, basic rule language, simple computation engine, and naive exposition system.

License

Apache License 2.0