Matt T. Proud
f03091b139
Interface simplifications: GetRangeValues
...
From pointers to copies.
12 years ago
Matt T. Proud
56f069b3ec
Interface simplifications: GetValueAtTime().
...
Pointer arguments to copies.
12 years ago
Matt T. Proud
900bb988c1
Simplifications of GetFingerprintsForLabelSet.
...
``MetricPersistence.GetFingerprintsForLabelSet(s *model.LabelSet)`` ->
``MetricPersistence.GetFingerprintsForLabelSet(s model.LabelSet)``.
12 years ago
Matt T. Proud
4fbcea73f5
MetricPersistence.AppendSample signature changes.
...
``MetricPersistence.AppendSample(*model.Sample)`` -> ``MetricPersistence.AppendSample(model.Sample)``.
12 years ago
Julius Volz
06ace4941d
Remove/replace last references to github.com/matttproud/...
12 years ago
Julius Volz
16d9dcd6a8
Add copyright notices to all remaining files.
12 years ago
Julius Volz
d67e4b9131
Address outstanding comments from PR/47 and other cleanups.
12 years ago
Matt T. Proud
ea54751431
Update import paths to new location.
...
This repository moved from matttproud/prometheus to
prometheus/prometheus, and all import paths need to be updated.
12 years ago
Julius Volz
c049ae39af
Cleanups to rules/persistence adapter code.
12 years ago
juliusv
619aa97025
Only close rule file if it could be opened.
12 years ago
Julius Volz
a85204a0a4
Add support for matrix duration strings without quotes.
12 years ago
Julius Volz
1760d927c8
Add error propagation to web UI via special JSON error type.
12 years ago
Julius Volz
49c87348b5
Implement per-second rate behavior for rate().
12 years ago
Julius Volz
93670aa129
Return API errors in JSON format.
12 years ago
Julius Volz
a20bf35997
Fix whitespace with "make format".
12 years ago
Julius Volz
c21450a089
Use correct label name for metric name in rule.
12 years ago
Julius Volz
6929c10acf
Add case-statement for OR, which still needs to be implemented.
12 years ago
Julius Volz
a555ded2b3
Add "w" (weeks) as a valid timeunit.
12 years ago
Julius Volz
2c8595f96e
First graphing support.
12 years ago
Matt T. Proud
efe61c18fa
Refactor target scheduling to separate facility.
...
``Target`` will be refactored down the road to support various
nuanced endpoint types. Thusly incorporating the scheduling
behavior within it will be problematic. To that end, the scheduling
behavior has been moved into a separate assistance type to improve
conciseness and testability.
``make format`` was also run.
12 years ago
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.
12 years ago
Julius Volz
17a4a442b3
Add REST API, expression browser, and text/JSON output formats.
12 years ago
Julius Volz
06162180ad
Implement matrix range and boundary fetching from metrics store.
12 years ago
Julius Volz
483bd81a44
Allow grammar to parse both rules and single expressions.
12 years ago
Julius Volz
c52b959fda
Fix matrix interval time calculation.
12 years ago
Julius Volz
fdf9a3aab7
Fix node type checks in arithmetic expressions.
12 years ago
Julius Volz
c4a2358551
Set correct interval in MatrixLiteral.Eval().
12 years ago
Julius Volz
429b66019c
Exclude metric name in vector arithmetric label matching.
12 years ago
Julius Volz
56384bf42a
Add initial config and rule language implementation.
12 years ago