Commit Graph

578 Commits (f3b2d2a99889257022de5923a070e770b8d41b02)

Author SHA1 Message Date
Brian Brazil 6f5d952132 Check for invalid utf-8 in lexer strings.
8 years ago
Harsh Agarwal 16867c89a7 implement label_join issue 1147 (#2806)
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Goutham Veeramachaneni baf5b0f0fc Fix error where we look into the future. (#2829)
8 years ago
Brian Brazil 220e78b9c3 Consider a series stale after 4.1 intervals with no data.
8 years ago
Brian Brazil c02c25d5ba Allow peeking back further in buffer.
8 years ago
Brian Brazil a5cf25743c Move stalness check into a function
8 years ago
Brian Brazil 80b40e6d91 Add initial staleness handing to promql.
8 years ago
Fabian Reinartz 6e804b3497 Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil fcc88f0e1e query/query_range should return eval timestamp
8 years ago
Brian Brazil 517b81f927 Add timestamp() function.
8 years ago
Tom Wilkie 4d9b917d11 Instrument Prometheus with OpenTracing (#2554)
8 years ago
Fabian Reinartz 0f3110487d Merge remote-tracking branch 'origin/dev-2.0' into dev-2.0
8 years ago
Fabian Reinartz 73b8ff0ddc Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Jack Neely 896f951e68 Force buckets in a histogram to be monotonic for quantile estimation (#2610)
8 years ago
Tom Wilkie f0e8a5f37c Add promql.ErrStorage, which is interpreted by the API as a 500.
8 years ago
Fabian Reinartz c389193b37 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz 0ecd205794 promql: Use buffer pool for matrix allocations
8 years ago
Fabian Reinartz b09b90a940 Correctly close querier on error, revendor tsdb
8 years ago
Goutham Veeramachaneni 6634984a38
Comments and Typo Fixes
8 years ago
Fabian Reinartz 9304179ef7 Merge branch 'master' into dev-2.0
8 years ago
Alex Somesan 18cd7246b5 Instrument query engine timings (#2418)
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Fabian Reinartz 1d3cdd0d67 Merge branch 'master' into dev-2.0-rebase
8 years ago
Fabian Reinartz 035976b275 retrieval: handle not found error correctly
8 years ago
Fabian Reinartz ad9bc62e4c storage: extend appender and adapt it
8 years ago
André Carvalho c43dfaba1c Add max concurrent and current queries engine metrics (#2326)
8 years ago
Fabian Reinartz bc20d93f0a storage: rename iterator value getters to At()
8 years ago
Fabian Reinartz 28f547bcc7 api/v1: fix tests, restore series queries
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 0492ddbd4d *: fully decouple tsdb, add new storage interfaces
8 years ago
Fabian Reinartz 9ea10d5265 promql: use labels.Builder to modify labels
8 years ago
Fabian Reinartz c6cd998905 promql: use local labels, add conversion
8 years ago
Fabian Reinartz ff504af2aa promql: undo accidental exports
8 years ago
Fabian Reinartz 6dedf89cc3 promql: rename SampleStream to Series
8 years ago
Fabian Reinartz c5f225b920 promql: export Sample
8 years ago
Fabian Reinartz 65581a3d46 promql: export SmapleStream
8 years ago
Fabian Reinartz 6315d00942 promql: export String value
8 years ago
Fabian Reinartz ac5d3bc05e promql: scalar T/V and Point
8 years ago
Fabian Reinartz 09666e2e2a promql: make scalar public
8 years ago
Fabian Reinartz b3f71df350 promql: make matrix exported
8 years ago
Fabian Reinartz a62df87022 promql: rename vector
8 years ago
Fabian Reinartz 15a931dbdb promql: migrate model types, use tsdb interfaces
8 years ago
Tristan Colgate ab60bc3929 Fix export of grouping modifier
8 years ago
Tristan Colgate 68fc15fe4e Report type names in the form used in documentation
8 years ago
beorn7 4e3abc6cbf Simply use `math.Mod(float64, float64)` after all
8 years ago
beorn7 5cf5bb427a Check for int64 overflow when converting from float64
8 years ago
beorn7 92c0ef1a92 Merge branch 'release-1.2' into beorn7/release
8 years ago
beorn7 07f1bdfe94 Fix MOD binop for scalars and vectors
8 years ago
Brian Brazil e1cfc994f7 Correctly handle on() in alerts. (#2096)
8 years ago
Brian Brazil c4b4a58e3a Correctly handle on() in alerts. (#2096)
8 years ago
Fabian Reinartz 8fa18d564a storage: enhance Querier interface usage
8 years ago
Fabian Reinartz ccbce0c51f promql: handle NaN in changes() correctly
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
Tobias Schmidt 29ced0090f Fix common english misspellings
8 years ago
Matt Bostock a0201036fa PromQL: Add tests for time/date funcs with arg
8 years ago
Matt Bostock 9628eb5998 PromQL: Add minute() function
8 years ago
Tobias Schmidt 04ae6196f2 Fix parsing of label names which are also keywords
8 years ago
Fabian Reinartz ab88057063 Merge pull request #1908 from prometheus/on-dates
8 years ago
Brian Brazil 4680daf237 Default date functions to current time.
8 years ago
Fabian Reinartz 23ddbd64aa Merge pull request #1925 from hashmap/1898-test-race
8 years ago
Alexey Miroshkin bf0e441576 Instantiate lexer inline for the test
8 years ago
Alexey Miroshkin 485f7dde08 Fix data race in lexer and lexer test
8 years ago
beorn7 71571a8ec4 promql: Fix (and simplify) populating iterators
8 years ago
Brian Brazil ea1318f38b Short names of some date related functions
8 years ago
Brian Brazil d2ca2b496a Add days_in_month function.
8 years ago
Brian Brazil 0ed31c8c47 Sort list of functions.
8 years ago
Brian Brazil fd7822829c Add date related functions.
8 years ago
Fabian Stäber 08b6556ee6 Assume counters start at zero after reset.
8 years ago
Fabian Reinartz 98c0d33567 Merge pull request #1875 from brancz/idelta-function
8 years ago
Frederic Branczyk f02df4138c refactor duplication of irate and idelta functions implementations
8 years ago
Frederic Branczyk dbf83666bb add idelta function
8 years ago
Frederic Branczyk 0ce5e7fe6d move legacy test for delta function
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
Brian Brazil 0303ccc6a7 Add quantile aggregator.
8 years ago
Brian Brazil 15f9fe0a45 Factor out quantile fucntion.
8 years ago
Brian Brazil b0342ba9ec Add quantile_over_time function
8 years ago
beorn7 fc6737b7fb storage: improve index lookups
8 years ago
Brian Brazil 40f8da699e Merge pull request #1815 from prometheus/stddev
8 years ago
Brian Brazil 1edd6875f5 Add stddev_over_time and stdvar_over_time.
8 years ago
Fabian Reinartz f8bb0ee91f Merge pull request #1793 from prometheus/count_values
9 years ago
Brian Brazil 875818d060 Clean out old keywords
9 years ago
Brian Brazil 16690736ab Add count_values() aggregator.
9 years ago
Brian Brazil 7f23a4a099 Add type check on topk/bottomk parameter.
9 years ago
Brian Brazil fa9cc15573 Add topk/bottomk tests for multiple buckets.
9 years ago
Brian Brazil 3b0c182eee Move topk/bottomk unittests over to aggregators.
9 years ago
Brian Brazil 3e5136e36d Make topk/bottomk aggregators.
9 years ago
Fabian Reinartz 4d1985e405 Merge pull request #1778 from mattbostock/fix_annotations
9 years ago
Matt Bostock cc98e164d3 promql: Fix annotations conflated with labels
9 years ago
Brian Brazil 3b89616d82 Allow on, ignoring, by and without wit empty laberls.
9 years ago
Brian Brazil 246a817300 Flip vector matching to be ignoring by default.
9 years ago
Julius Volz b7b6717438 Separate query interface out of local.Storage.
9 years ago
Fabian Reinartz 0e281f5500 Merge pull request #1687 from royels/issue-1629
9 years ago
royels 2fdc5717a3 promql: add power binary operation
9 years ago
Fatih Arslan 362e44501a promql: fix printing annotations of an *AlertStmt
9 years ago
beorn7 e3ec8fa83b Merge branch 'release-0.19'
9 years ago
beorn7 5408666387 Correctly stringify GROUP_x modifiers without labels
9 years ago
Ali Reza e7eba75690 remove keeping_extra because it's replaced with keep_common
9 years ago
Brian Brazil 74094947ea effect -> affect
9 years ago
Brian Brazil 68aaea618a Merge pull request #1624 from dmitris/golint
9 years ago
Fabian Reinartz bbc4f11bcc Merge pull request #945 from msiebuhr/fuzz
9 years ago
Dmitry Savintsev 7fdb62c253 fix several minor golint style issues
9 years ago
Morten Siebuhr ffc8cab39a Updates fuzzers to discard less interesting data
9 years ago
Brian Brazil ef55fd6176 Add unittest for using a metric for thresholds with group_left.
9 years ago
Morten Siebuhr 981b636004 Bring fuzzer error handling in line.
9 years ago
Morten Siebuhr 9eb2e98509 Fix up documentation + go fmt.
9 years ago
Morten Siebuhr 7371dcc787 Fuzzing corpus for ParseMetric.
9 years ago
Morten Siebuhr 5fec020b27 Initial fuzzing corpus for ParseExpr.
9 years ago
Morten Siebuhr 0ebcca5eb7 Add basic fuzzer of the parser.
9 years ago
Brian Brazil 68e70d992a Clarify error message around on(x) group_left(x)
9 years ago
Brian Brazil 7201c010c4 Rename On to MatchingLabels
9 years ago
Brian Brazil d991f0cf47 For many-to-one matches, always copy label from one side.
9 years ago
Brian Brazil 768d09fd2a Change on+group_* to take copy from the one side.
9 years ago
Brian Brazil d1edfb25b3 Add support for OneToMany with IGNORING.
9 years ago
Brian Brazil 1d08c4fef0 Add 'ignoring' as modifier for binops.
9 years ago
Brian Brazil f5084ab1c5 Add tests for group_left/group_right
9 years ago
Fabian Reinartz fceedfa807 Add error message if old alert rule tokens are read
9 years ago
Julius Volz 6ac39700ea Fix missing printed keep_common without grouping.
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
Fabian Reinartz 9ee91062c4 Merge pull request #1522 from prometheus/unless-operator
9 years ago
Tobias Schmidt 8cc86f25c0 Implement relative complement set operator "unless"
9 years ago
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
Tobias Schmidt 4c3dc25e35 Fix whitespace in promql test data
9 years ago
Fabian Reinartz 235e6c554b Use ContainsRune
9 years ago
Brian Brazil 24a3ad3d16 Merge pull request #1485 from eliothedeman/master
9 years ago
eliothedeman 1543ef92b2 Adds holt-winters query function
9 years ago
beorn7 507f550cd4 Merge branch 'master' into beorn7/storage7
9 years ago
Brian Brazil 070d663948 Merge pull request #1501 from prometheus/and-dummy
9 years ago
Fabian Reinartz ab3d7a0ec0 Remove old alerting syntax
9 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
Brian Brazil 8788701ce7 Add test for incorrect behaviour
9 years ago
Brian Brazil 39d556f0d5 Move all the operator tests into one file
9 years ago
beorn7 99854a84d7 Merge branch 'beorn7/storage6' into beorn7/storage7
9 years ago
beorn7 d0a4477446 Merge branch 'beorn7/storage3' into beorn7/storage4
9 years ago
beorn7 dad302144d Make a naked return less naked
9 years ago
beorn7 836f1db04c Improve MetricsForLabelMatchers
9 years ago
beorn7 f7fc542db6 Merge branch 'master' into beorn7/storage4
9 years ago
beorn7 3d86130d8c Merge branch 'master' into beorn7/storage3
9 years ago
Björn Rabenstein 2a2cc52828 Merge pull request #1405 from prometheus/beorn7/storage
9 years ago
Patrick Bogen 250344b344 use short variable assignment
9 years ago
Patrick Bogen 2062fbae0f rewrite operator balancing to be recursive
9 years ago
beorn7 0ea5801e47 Handle errors caused by data corruption more gracefully
9 years ago
beorn7 8766f99085 Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 162f6fa6f6 Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 79a2ae2d2e Add missing test file
9 years ago
beorn7 b6840997a7 Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 ce58fd357b Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 2581648f70 Separate iterators by offset
9 years ago
Fabian Reinartz 95c9706d2d Fix missing comment period.
9 years ago
Julius Volz 9ea2465b99 Fix typo in lexer test.
9 years ago
Tobias Schmidt 907b1380a7 Add tests to specify the string escaping behavior
9 years ago
beorn7 c740789ce3 Improve predict_linear
9 years ago
beorn7 454ecf3f52 Rework the way ranges and instants are handled
9 years ago
beorn7 0e202dacb4 Streamline series iterator creation
9 years ago
Julius Volz 9b6d69610a Fix various typos in comments.
9 years ago
Brian Brazil 9d0112d7cf Add without aggregator modifier.
9 years ago
Brian Brazil b7ef0b45e8 Break aggregation tests out. Add missing tests.
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Fabian Reinartz a6935024e1 Remove old WITH clause in alert printing
9 years ago
Tobias Schmidt 1a91cd6e09 Rename matrix to range selector in external error messages
9 years ago
Tobias Schmidt 411ca4dba1 Consolidate offset modifier parsing
9 years ago
Fabian Reinartz 6b4a6962d2 Support old alerting rule syntax
9 years ago
Brian Brazil c77c3a8c56 promql: Limit extrapolation of delta/rate/increase
9 years ago
Brian Brazil 89760dd77d Handle NaN for min/max.
9 years ago
Brian Brazil bac1f28cad Similar to topk/bottomk, have sort/sort_desc put NaN at end.
9 years ago
Fabian Reinartz 4209ec6864 Change WITH keyword to LABELS
9 years ago
Brian Brazil 88ca82304c Make topk/bottomk prefer returning real numbers over NaN.
9 years ago
Brian Brazil edf3e123f5 Move topk/bottomk tests from legacy.
9 years ago
Fabian Reinartz af3a6661ed Implement new alerting rule syntax
9 years ago
James Sanford 5b53262b7a promql: Add clamp_max/clamp_min functions.
9 years ago
Brian Brazil a287264989 Print offsets in promql.
9 years ago
Fabian Reinartz 33aab4169c Anchor regexes in vector matching
9 years ago
Fabian Reinartz 51e8badc7f Merge pull request #1159 from prometheus/scalar-bool
9 years ago
Brian Brazil c36961130b promql: Remove scalar/scalar comparisons.
9 years ago
Brian Brazil 5740a8fade promql: Remove deprecated 2nd argument to delta()
9 years ago
Brian Brazil 965a71dc4d Merge pull request #1155 from prometheus/irate
9 years ago
Brian Brazil f08abdb48b promql: Add irate() function
9 years ago
Julius Volz 0088aa4d45 Merge pull request #1132 from prometheus/fix-quoting-and-escaping
9 years ago
Julius Volz 46c5260761 Support escape sequences in strings and add raw strings.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Brian Brazil 653ff71f1f promql: Reduce flakiness of concurrency test
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Fabian Reinartz 36ec8ba460 Fix missing return on error
9 years ago
Fabian Reinartz e005f939fd Fix scalar construction in function
9 years ago
Fabian Reinartz eca41f5319 Run gofmt
9 years ago
Brian Brazil fa793d917e Merge pull request #1080 from prometheus/query-timeout-test
9 years ago
Brian Brazil ce7f31e03c promql: Bump sleep in query timeout test
9 years ago
Julius Volz 347630431c Merge pull request #1077 from prometheus/cleanups
9 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings.
9 years ago
Brian Brazil 29de4ee2b0 Merge pull request #1078 from prometheus/whats-our-vector-victor
9 years ago
Brian Brazil 9b382647b5 Remove optional vector() 2nd argument
9 years ago
Fabian Reinartz a1617d90f4 Merge pull request #1073 from prometheus/whats-our-vector-victor
9 years ago
Brian Brazil 69f5fa0c1e promql: Add vector function.
9 years ago
Julius Volz 6d3e054692 Fix bool modifier in recording rules and printing.
9 years ago
Brian Brazil 9ec11b1847 Merge pull request #1049 from prometheus/bool-nofilter
9 years ago
Brian Brazil 29e8dc2c49 promql: Add 'bool' modifier to comparison functions
9 years ago
Julius Volz 61c42c8da0 Change relabel_replace() to do full-string matches.
9 years ago
Julius Volz 744d5d5a7a Merge pull request #1029 from prometheus/vet-fixes
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Julius Volz 963ad82dcb Fix "go vet" errors.
9 years ago
Julius Volz 077a753e6b Merge pull request #1006 from prometheus/true-values
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Brian Brazil fb585e4591 promql: Remove interpolation of vector values.
9 years ago
Fabian Reinartz 1535ef1457 Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Brian Brazil 296f551418 Merge pull request #1014 from prometheus/scalar-rules
9 years ago
Brian Brazil e6a67476c2 rules: Allow recorded rules expressions to be scalars.
9 years ago
Laurie Malau cdf38ab93a Log runtime errors during query evaluation instead of panicking.
9 years ago
Julius Volz 27ed874358 Implement label_replace()
9 years ago
Fabian Reinartz 690b5f1575 Remove multi-statement queries
9 years ago
Julius Volz e324910ff2 Merge pull request #936 from prometheus/predict
9 years ago
Brian Brazil d6a80c2b76 promql: Add support for predict_linear(my_timeseries[1h], 7200)
9 years ago
Fabian Reinartz 579fdf65e2 Implement unary expression for vector types.
9 years ago
Fabian Reinartz c322422412 Merge pull request #954 from prometheus/fabxc/fuzz-fix
9 years ago
Fabian Reinartz adf109795c forbid unexpected (runtime) errors in parse tests
9 years ago
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