Commit Graph

557 Commits (8f6c5e8cb07f686d29a37b3458c2353d1d2d221e)

Author SHA1 Message Date
Fabian Reinartz c20e25f718 Add missing check for nil expression
9 years ago
Brian Brazil a0f0b82348 promql: Test errors aren't always ParseErr
9 years ago
Fabian Reinartz 5279d50d92 Handle parser runtime panics gracefully
9 years ago
Julius Volz 4e4b468fba Fix lexer bug treating non-Latin Unicode digits as digits.
9 years ago
Fabian Reinartz 3d67d75935 promql: implement JSON array format for scalar and string
10 years ago
Fabian Reinartz 77e8983221 promql: add MarshalJSON method for SamplePair
10 years ago
Fabian Reinartz c1d37bc55b Merge pull request #843 from prometheus/fabxc/runbook
10 years ago
Fabian Reinartz 70d7a987a7 promql: add json tags, fix query constructor.
10 years ago
Fabian Reinartz 749ae450c5 promql: add runbook to alert statement.
10 years ago
Fabian Reinartz 7f85b9b215 promql: add MarshalJSON method for ExprType.
10 years ago
Fabian Reinartz 1eff186555 Merge pull request #810 from prometheus/fabxc/lmatch
10 years ago
Fabian Reinartz 5b91ea9b36 storage: improve label matching and allow unset matching.
10 years ago
Fabian Reinartz 94cd321be1 promql: error if all label matchers are empty.
10 years ago
Fabian Reinartz fe301d7946 promql: remove global flags
10 years ago
Julius Volz 5e2d1c1464 Deprecate `keeping_extra`, rename it to `keep_common`.
10 years ago
Fabian Reinartz e7659f908c promql: remove DotGraph methods from nodes.
10 years ago
Fabian Reinartz c716d8a47b promql: fix aggregation expression String() method.
10 years ago
Fabian Reinartz c32ae22119 promql: fix missing metric in range results.
10 years ago
Fabian Reinartz 0acd44b0e3 promql: expose ParseMetric and ParseMetricSelector
10 years ago
Fabian Reinartz cb10ceac18 promql: allow scalar expressions in range queries, improve errors.
10 years ago
Fabian Reinartz ab9c98acac web/api: add initial API v1 implementation.
10 years ago
Fabian Reinartz 03b737322e promql: expose storage and query engine for tests
10 years ago
Fabian Reinartz 319068a7a6 promql: fix parsing ambiguity for serial repetitions
10 years ago
Fabian Reinartz c60e3387ef promql: fix lexing of \r as whitespaces
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz dbc0d30e3e Move string functionality to pkg/strutil
10 years ago
Fabian Reinartz ccf51b132e Move stats package to pkg/stats
10 years ago
Fabian Reinartz 3c8fbf1e15 Move test package to pkg/testutil
10 years ago
Brian Brazil f34de493d5 Add increase() function, to replace delta(..., 1).
10 years ago
Julius Volz d44a89c6e8 Implement changes() function.
10 years ago
Julius Volz 6f33ed9e59 Add resets() function to count counter resets.
10 years ago
Fabian Reinartz b7eb105ffa Remove test flags in help output
10 years ago
beorn7 3b9c421a69 Weed out all the [Gg]et* method names.
10 years ago
Fabian Reinartz ac4d63b833 Merge pull request #689 from prometheus/fabxc/qltest
10 years ago
Fabian Reinartz 0d3012a605 Migrate matrix tests, remove old test files.
10 years ago
Fabian Reinartz 71ef7ab405 Migrate remaining vector evaluation tests to new testing language.
10 years ago
Fabian Reinartz 3c22eded97 Migrate literal tests to testing language.
10 years ago
Fabian Reinartz eba07a7d3d Migrate histogram tests to test language.
10 years ago
Fabian Reinartz 03094eff04 Migrate parsing error tests.
10 years ago
Fabian Reinartz 6321964738 Add parsing and execution of new test format.
10 years ago
Fabian Reinartz a236c01457 Add time series description parsing.
10 years ago
Fabian Reinartz d122749b39 Enhance lexer testing output
10 years ago
Fabian Reinartz ce487f763e Simplify vector binary evaluation logic
10 years ago
Fabian Reinartz 8a109e061b Extract OR operation into own eval method.
10 years ago
Fabian Reinartz 2c3e9e2e87 Extract AND operation into own eval method.
10 years ago
Fabian Reinartz 4234a45d2e Merge pull request #693 from prometheus/fabxc/preload_timeout
10 years ago
Fabian Reinartz 8ea94ebb58 Check context before each preloading.
10 years ago
Fabian Reinartz 969c231191 Make parser more strict about identifiers, extract number parsing
10 years ago
Fabian Reinartz 8707c54508 Fix single quote parsing, add tests
10 years ago
Fabian Reinartz 9ab1f6c690 Limit maximum number of concurrent queries.
10 years ago
Fabian Reinartz d59d1cb2c1 Fix Error() methods.
10 years ago
Fabian Reinartz 6649306e63 Merge pull request #660 from prometheus/fabxc/pql/parse-errs
10 years ago
Fabian Reinartz 279831cdf1 Fix and improve parsing error output.
10 years ago
Fabian Reinartz fe935179cd Stop routing rule statements through the engine.
10 years ago
Fabian Reinartz 25cdff3527 Remove `name` arg from `Parse*` functions, enhance parsing errors.
10 years ago
Fabian Reinartz 5602328c7c Refactor query evaluation.
10 years ago
Fabian Reinartz 32b7595c47 Create promql package with lexer/parser.
10 years ago