prometheus/rules
Julius Volz 64b0ade171 Swap rules lexer for much faster one.
This swaps github.com/kivikakk/golex for github.com/cznic/golex.

The old lexer would have taken 3.5 years to load a set of 5000 test rules
(quadratic time complexity for input length), whereas this one takes only 32ms.
Furthermore, since the new lexer is embedded differently, this gets rid of the
global parser variables and makes the rule loader fully reentrant without a
lock.
2013-07-11 19:35:29 +02:00
..
ast Implement getValueRangeAtIntervalOp for faster range queries. 2013-06-26 18:10:36 +02:00
fixtures Implement initial no-op alert parsing and rule parsing tests. 2013-04-23 13:48:24 +02:00
alerting.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
helpers_test.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
helpers.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
lexer.l Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
lexer.l.go Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
load.go Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
Makefile Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
manager.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
parser.y Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
parser.y.go Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
recording.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
rules_test.go Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
rules.go Implement alerts dashboard and expression console links. 2013-06-13 22:35:40 +02:00
telemetry.go Introduce telemetry for rule evaluator durations. 2013-05-23 21:29:27 +02:00