Go to file
Julius Volz cb6eb30182 Fix state cleanup bug between rule/config parser runs.
This fixes a bug that has been annoying me minorly for some time now:
sometimes, after parse errors, a subsequent parser run would fail.  The reason
is that yylex() modifies some global variables (yytext, yydata) during its run
to keep state. To make subsequent parser runs correct, these have to be reset
before each run.

Also, close files after reading them.
2013-01-12 02:35:40 +01:00
api Set correct Content-Type header based on output format. 2013-01-11 03:17:58 +01:00
coding Add Apache License 2.0 boilerplate. 2012-11-26 20:11:34 +01:00
config Fix state cleanup bug between rule/config parser runs. 2013-01-12 02:35:40 +01:00
model Remove unneeded String() method for SampleValue type. 2013-01-04 12:12:18 +01:00
retrieval Add initial config and rule language implementation. 2013-01-07 23:43:36 +01:00
rules Fix state cleanup bug between rule/config parser runs. 2013-01-12 02:35:40 +01:00
storage Debug corner-case seeking anomaly. 2013-01-07 11:23:09 +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 Add REST API, expression browser, and text/JSON output formats. 2013-01-11 02:27:03 +01:00
Makefile Add initial config and rule language implementation. 2013-01-07 23:43:36 +01:00
Makefile.TRAVIS Add GoREST install to Makefile.TRAVIS. 2013-01-11 02:41:04 +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