Commit Graph

249 Commits (2673f94eb1e2435f904ede57b2796fb9cb209766)

Author SHA1 Message Date
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Julius Volz 8155cc4992
Expose lexer item types (#5358)
6 years ago
Daisy T 683fbc59ec exponentation operator to drop metric name in result of op operation (#5329)
6 years ago
Brian Brazil 858c363e94 Fix panic when aggregator param is not a literal.
6 years ago
Tariq Ibrahim a2a6e24f9f show list of offending labels in the error message in many-to-many scenarios (#5189)
6 years ago
Bryan Boreham 8841692a63 Use the context associated with the inner evaluation span (#5130)
6 years ago
Matt Layher 43c9d9e91f promql: apply golint suggestions (#5066)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Tom Wilkie 6e08029b56
Move err to be the last return value from storage.Select. (#5054)
6 years ago
Ganesh Vernekar dbe55c1352 Subquery (#4831)
6 years ago
Tom Wilkie e1d9bf77f1
Export the error field in ErrStorage, so we can 'throw' it outside the package. (#4954)
6 years ago
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Bryan Boreham 9a956872a3 Make ErrorStorage a concrete type not an interface
6 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513)
6 years ago
Tom Wilkie 4c52400708
Limit concurrent remote reads. (#4656)
6 years ago
Harsh Agarwal 18a9a390b5 Add duplicate-labelset check for range/instant vectors (#4589)
6 years ago
Ganesh Vernekar 576ee4d309 Label name check for 'count_values' (#4585)
6 years ago
Dan Cech 9f4cb06a37 use Welford/Knuth method to compute standard deviation and variance (#4533)
6 years ago
Goutham Veeramachaneni 71855a22a4
Add tracing spans to promql (#4436)
6 years ago
Thomas Jackson 56daa1f28a Only add LookbackDelta to vector selectors (#4399)
6 years ago
Alin Sinpalean 372e7652b7 Reuse (copy) overlapping matrix samples between range evaluation steps (#4315)
6 years ago
Tony Lee bcdaf8e2d2 add unused pointslices to the pool (#4363)
6 years ago
Alin Sinpalean e3b775b78b Simplify BufferedSeriesIterator usage (#4294)
6 years ago
Julius Volz 219e477272 Fix some (valid) lint errors (#4287)
6 years ago
Thomas Jackson 92c6f0c92e Add offset to selectParams (#4226)
6 years ago
Alin Sinpalean 96fb0b2155 Optimize PromQL aggregations (#4248)
6 years ago
Tom Wilkie 3228814456 Don't forget to register query_duration_seconds{slice="queue_time"} (#4381)
6 years ago
Thomas Jackson a6dace8829 Check for timeout in each iteration of matrixSelector (#4300)
7 years ago
Thomas Jackson 630f42fcf1 Timeout if populating iterators takes too long (#4291)
7 years ago
Thomas Jackson 404abe0f1c Bubble up errors to promql from populating iterators (#4136)
7 years ago
Mario Trangoni 0e2aa35771 promql: fix unconvert issues (#4040)
7 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966)
7 years ago
David King 6286c10df0 Fix OOM when a large K is used in topk queries (#4087)
7 years ago
Tony Lee 7cd56f56df add queue_time slice to query_duration_seconds (#4050)
7 years ago
Anton Tereshchenkov 18bbec050c promql: propagate storage errors
7 years ago
Nikunj Aggarwal 998dfcbac6 Expose itemtype outside the package (#3933)
7 years ago
Fabian Reinartz 309c666426
Merge pull request #3671 from prometheus/queryparams
7 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Krasi Georgiev a53d4ed197 drop metric name for bool modifier (#3821)
7 years ago
Fabian Reinartz f8fccc73d8 promql: remove global metrics
7 years ago
Fabian Reinartz 83cd270ea4 *: adapt to storage interface changes
7 years ago
David Kaltschmidt 87c46ea6c3 Renamed TotalEvalTime to EvalTotalTime
7 years ago
David Kaltschmidt c93e54d240 Adds execution timer stats to the range query
7 years ago
Brian Brazil 99905f82a6 Remove keep_common modifier.
7 years ago
Brian Brazil 67274f0794 Remove 4 interval staleness heuristic. (#3244)
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Alexey Palazhchenko 695ec0b981 Fix few typos. (#2962)
7 years ago
Goutham Veeramachaneni 4194d2ac79 Call At() only if Next() is true
7 years ago
Goutham Veeramachaneni d407bd150c Consolidate the duration params in CLI
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
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 73b8ff0ddc Merge branch 'master' into dev-2.0
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 1d3cdd0d67 Merge branch 'master' into dev-2.0-rebase
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 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 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
Fabian Reinartz 8fa18d564a storage: enhance Querier interface usage
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
beorn7 71571a8ec4 promql: Fix (and simplify) populating iterators
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 16690736ab Add count_values() aggregator.
9 years ago
Brian Brazil 3e5136e36d Make topk/bottomk aggregators.
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
royels 2fdc5717a3 promql: add power binary operation
9 years ago
Ali Reza e7eba75690 remove keeping_extra because it's replaced with keep_common
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
Tobias Schmidt 8cc86f25c0 Implement relative complement set operator "unless"
9 years ago
beorn7 c740789ce3 Improve predict_linear
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 89760dd77d Handle NaN for min/max.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Brian Brazil 29e8dc2c49 promql: Add 'bool' modifier to comparison functions
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
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
Fabian Reinartz 579fdf65e2 Implement unary expression for vector types.
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 70d7a987a7 promql: add json tags, fix query constructor.
10 years ago
Fabian Reinartz fe301d7946 promql: remove global flags
10 years ago
Fabian Reinartz c32ae22119 promql: fix missing metric in range results.
10 years ago
Fabian Reinartz cb10ceac18 promql: allow scalar expressions in range queries, improve errors.
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz ccf51b132e Move stats package to pkg/stats
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 6321964738 Add parsing and execution of new test format.
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 9ab1f6c690 Limit maximum number of concurrent queries.
10 years ago
Fabian Reinartz d59d1cb2c1 Fix Error() methods.
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