Commit Graph

200 Commits (a425dbfa72490c599ea235a0ef2278e56b40c005)

Author SHA1 Message Date
Jeanette Tan 9a8bd8eac6 Fix possible non-counter warning for empty names and native histograms
1 year ago
Julius Volz 191c24a0ed Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning (#12982)
1 year ago
Jeanette Tan 0cbf0c1c68 Revise according to code review
1 year ago
Jeanette Tan feaa93da77 Add warning when monotonicity is forced in the input to histogram_quantile
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614)
1 year ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262)
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 817a2396cb Name float values as "floats", not as "values"
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum
2 years ago
Bryan Boreham 56fefcd812 Update package promql for new labels.Labels type
2 years ago
Bryan Boreham 6bdecf377c
Switch from 'sanity' to more inclusive lanuage (#9376)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
beorn7 a7c519930e histograms: Add Compact method to the normal integer Histogram
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
beorn7 9eafed0f79 promql: Add `histogram_count` and `histogram_sum`
2 years ago
beorn7 a3a8f58bb3 promql: Add histogram_fraction function
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817)
3 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667)
3 years ago
Ivo Gosemann e22b54e253 Adds day_of_year function to PromQL
3 years ago
beorn7 106e20cde5 Histogram: Fix and simplify histogram_quantile
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
beorn7 9fbcf14e5c histogram: Handle changes of the ZeroThreshold and the Schema
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
David N Perkins 472456efde Added issue link to the comment
3 years ago
David N Perkins 52662e8105 Added metric name to histogram quartile binning and associated unit test
3 years ago
beorn7 a6acdfe346 histograms: Doc comment and naming improvements
3 years ago
Ganesh Vernekar 4a43349aca
`histogram_quantile` for sparse histograms (#9935)
3 years ago
Björn Rabenstein 0e1b9dd308
Promql: Initial rate implementation for sparse histograms (#9926)
3 years ago
Matthew 7ee52bfb86
feat: linreg => slope 0 for const values (#9728)
3 years ago
Thomas Jackson f0003bc0ba
Don't drop ParenExpr when creating StepInvariantExpr (#9591)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
darshanime 42d786f1ac use kahan summation for aggregation functions
3 years ago
darshanime 694b872dee address stylistic nits
3 years ago
darshanime a905354da3 use kahan for avg_over_time
3 years ago
darshanime 0a9deb9597 use kahan summation for numerical stability
3 years ago
Levi Harrison 4ac4e2ca4b Remove parenthesis
3 years ago
Levi Harrison 6faca22eec Add inverse hyperbolic functions
3 years ago
Levi Harrison 9c54ee0a6e Changed function comment
3 years ago
Levi Harrison 53d88fd147 Added hyperbolic trig functions
3 years ago
Levi Harrison 9fc7ba33aa Remove `atan2()`
3 years ago
Levi Harrison 309e020c0a Added functions
3 years ago
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