Commit Graph

225 Commits (d2caf51874aab00aee17e4fd2efd02c879dfbbc6)

Author SHA1 Message Date
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter 2 years ago
David Leadbeater 7ec4a11472 promtool: Avoid using testify for user rule tests 2 years ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2 years ago
Bryan Boreham 195a0f5ab8
remove uneccessary space 2 years ago
Bryan Boreham 22890b1eb3 PromQL: improve warning for mixed values in aggregations 2 years ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib 2 years ago
Bryan Boreham d77c30102e utils: add DeepEqual replacement using go-cmp 2 years ago
Arve Knudsen 0853e52f4e
util/runtime: Ignore nolintlint failure on OSX (#13546) 2 years ago
zenador a3ddfbd1ee
Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram (#13392) 2 years ago
tyltr f97fa2736c remove obsolete build tag 2 years ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733) 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068) 2 years ago
zenador ccfe14d7e7
PromQL: ignore small errors for bucketQuantile (#13153) 2 years ago
Matthieu MOREL fe057fc60d use Go standard errors package 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
Jeanette Tan 754e7df97e Make it possible to unwrap annotation errors 2 years ago
Jeanette Tan 72cc93d225 Hide position info for warnings when position is unknown (empty query string passed in) 2 years ago
zenador 80e977aae6
Remove `NewPossibleNonCounterInfo` and minimise creating empty annotations (#13012) 2 years ago
Jeanette Tan 9a8bd8eac6 Fix possible non-counter warning for empty names and native histograms 2 years ago
Julius Volz 191c24a0ed Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning (#12982) 2 years ago
Julius Volz 5c4652c914
Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning (#12982) 2 years ago
Jeanette Tan 0cbf0c1c68 Revise according to code review 2 years ago
Jeanette Tan feaa93da77 Add warning when monotonicity is forced in the input to histogram_quantile 2 years ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650) 2 years ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152) 2 years ago
Julien Pivotto fd5b01afdc promtool docs: write flags between backtits in help 2 years ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc 3 years ago
François Gouteroux 58d38c4c56 fix: apply suggested changes 3 years ago
Julien Pivotto d19fa62476 Revert "Improving Performance on the API Gzip Handler (#12363)" 3 years ago
François Gouteroux 3eaa7eb538 fix: apply suggested changes 3 years ago
François Gouteroux 6ae4a46845 feat: enhance stdin check and add tests parsing error 3 years ago
François Gouteroux ca6580828a feat: support histogram and summary metric types 3 years ago
Alan Protasio dfae954dc1
Improving Performance on the API Gzip Handler (#12363) 3 years ago
François Gouteroux 934c5ddb8d feat: make push metrics labels generic and repeatable 3 years ago
François Gouteroux 3524a16aa0 feat: add suggested changes, tests, and stdin support 3 years ago
György Krajcsovits 19a4f314f5 Refactor testutil/protobuf.go into scrape package 3 years ago
György Krajcsovits 071426f72f Add unit test for bucket limit appender 3 years ago
Julien Pivotto 637235f0a6 Revert type casting removal 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
beorn7 817a2396cb Name float values as "floats", not as "values" 3 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 3 years ago
znley 0c75f76193 fix: RLIM_INFINITY type is uint64 on loong64 3 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189) 3 years ago
Julien Pivotto 1922db0586 Document command line tools 3 years ago
Nick Moore c05ebef306
Implement SanitizeLabelName and Full variant 3 years ago
Nick Moore 758914e1fb
Fix SanitizeLabelName for certain invalid labels 3 years ago