b988eb855c
Example: avg(some_timer{quantile=0.99}) > 0.1) Changes: * add DECIMAL (floating point value) to allowed tokens for dimensions Without this fix, an alarm-definition like the above one once injected through the Python API will break the Java-ORM layer because the alarm-definition cannot be parsed by the generated ANTLR parser. As a consequence the thresholder worker will terminate, leading to a crash-cycle. I could not find a way to make the ORM-layer ignore non-parseable alarm-definitions. So maybe this fix should be complemented by an extension of the Python API that uses exactly the same ANTLR grammar to validate incoming alarm-definitions. Change-Id: Ibbd41e1b817ebadc74b1b4a677db898cfa173ccb |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
pom.xml |