Commit Graph

200 Commits (a425dbfa72490c599ea235a0ef2278e56b40c005)

Author SHA1 Message Date
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097)
3 years ago
songjiayang 776c2b8f42 Speed delta value without loop to calculate resultValue
4 years ago
pschou aff3c702ab
promql: Add sgn, clamp and last_over_time functions (#8457)
4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
4 years ago
Vijay Samuel 00ee73ef91
Export members of EvalNodeHelper to facilitate usage in external functions (#7860)
4 years ago
Julien Pivotto d77b56e88e
Fix avg_over_time for nan and float64 overflows (#7346)
4 years ago
Callum Styan 5bb7f00d00
change labelset comparison in promql engine to avoid false positive during detection of duplicates (#7058)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
李国忠 2bf4952049
remove Unused parameter 'sf' in calcTrendValue function (#6900)
5 years ago
Tobias Guggenmos b93845d6bf Remove unused function
5 years ago
Tobias Guggenmos 1360f9ff12 Fix all build errors in promql package
5 years ago
Tobias Guggenmos 9a1366775e Store function implementations independently of their signatures
5 years ago
Tobias Guggenmos ff0ea1c1ac Fix more identifiers
5 years ago
Tobias Guggenmos 6b1b323558 Export sequenceValue
5 years ago
Tobias Guggenmos 228967a507 Fix usages of more things that have moved the package
5 years ago
Tobias Guggenmos 2f1113479f Fix usages of ValueType
5 years ago
Tobias Guggenmos 2aacd807b3 PromQL: Various small improvements in the parser (#6652)
5 years ago
Tobias Guggenmos 64194f7d45 PromQL: AST: Make VectorSelector Children of MatrixSelector (#6590)
5 years ago
Julien Pivotto 577e738986 Cleanup PromQL functions (#6551)
5 years ago
Julien Pivotto e0afec906f add absent_over_time (#6490)
5 years ago
Julien Pivotto f363a71ef7 promql: function: fix typo (#6501)
5 years ago
Julien Pivotto 4b3bab890d Fix absent output where two label matchers are identical (#6493)
5 years ago
Tobias Guggenmos cd39ebe7c6 PromQL: export function list (#6434)
5 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Thomas Jackson abf6fe0a98 Change max/min over_time to handle NaNs properly (#4386)
6 years ago
Harsh Agarwal 18a9a390b5 Add duplicate-labelset check for range/instant vectors (#4589)
6 years ago
Dan Cech 9f4cb06a37 use Welford/Knuth method to compute standard deviation and variance (#4533)
6 years ago
Benjamin Raskin 9353696d77 Fix spelling and holt-winters check (#4424)
6 years ago
Mario Trangoni 0e2aa35771 promql: fix unconvert issues (#4040)
7 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966)
7 years ago
Krasi Georgiev 4801573b64 time() return milliseconds (#3811)
7 years ago
Brian Brazil 7158675aa8 Add back continue.
7 years ago
Brian Brazil b2ac3d2d86 Remove count_scalar and drop_common_labels.
7 years ago
Fabian Reinartz 87918f3097 Merge branch 'master' into dev-2.0
7 years ago
Brian Brazil 2354c2544b Set timestamp for date functions (#3070)
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Brian Brazil 4c8173acac Use timestamp of a sample in deriv() to avoid FP issues (#2958)
7 years ago
Alexey Palazhchenko 695ec0b981 Fix few typos. (#2962)
7 years ago
Fabian Reinartz ca2b68889b Merge branch 'master' into dev-2.0
8 years ago
Harsh Agarwal 16867c89a7 implement label_join issue 1147 (#2806)
8 years ago
Brian Brazil 517b81f927 Add timestamp() function.
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
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
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 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
Fabian Reinartz ccbce0c51f promql: handle NaN in changes() correctly
8 years ago
Matt Bostock 9628eb5998 PromQL: Add minute() function
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
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
Frederic Branczyk f02df4138c refactor duplication of irate and idelta functions implementations
8 years ago
Frederic Branczyk dbf83666bb add idelta function
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
Brian Brazil 1edd6875f5 Add stddev_over_time and stdvar_over_time.
8 years ago
Brian Brazil 3e5136e36d Make topk/bottomk aggregators.
9 years ago
Brian Brazil 74094947ea effect -> affect
9 years ago
eliothedeman 1543ef92b2 Adds holt-winters query function
9 years ago
beorn7 dad302144d Make a naked return less naked
9 years ago
beorn7 c740789ce3 Improve predict_linear
9 years ago
beorn7 0e202dacb4 Streamline series iterator creation
9 years ago
Brian Brazil c77c3a8c56 promql: Limit extrapolation of delta/rate/increase
9 years ago
Brian Brazil bac1f28cad Similar to topk/bottomk, have sort/sort_desc put NaN at end.
9 years ago
Brian Brazil 88ca82304c Make topk/bottomk prefer returning real numbers over NaN.
9 years ago
James Sanford 5b53262b7a promql: Add clamp_max/clamp_min functions.
9 years ago
Brian Brazil 5740a8fade promql: Remove deprecated 2nd argument to delta()
9 years ago
Brian Brazil f08abdb48b promql: Add irate() function
9 years ago
Fabian Reinartz e005f939fd Fix scalar construction in function
9 years ago
Fabian Reinartz eca41f5319 Run gofmt
9 years ago
Brian Brazil 9b382647b5 Remove optional vector() 2nd argument
9 years ago
Brian Brazil 69f5fa0c1e promql: Add vector function.
9 years ago
Julius Volz 61c42c8da0 Change relabel_replace() to do full-string matches.
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Fabian Reinartz 1535ef1457 Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Julius Volz 27ed874358 Implement label_replace()
9 years ago
Brian Brazil d6a80c2b76 promql: Add support for predict_linear(my_timeseries[1h], 7200)
9 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 5602328c7c Refactor query evaluation.
10 years ago
Fabian Reinartz 32b7595c47 Create promql package with lexer/parser.
10 years ago