Commit Graph

59 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1
3 months ago
Arve Knudsen b5d13a1ab5 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
3 months ago
Bryan Boreham aa4b056ad0
Merge pull request #13200 from bboreham/wlog-defer
3 months ago
machine424 9e43ad2e37 chore(remote_write): clean up as watcher.go is part of wlog now
4 months ago
Arve Knudsen 9af19ed856 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
4 months ago
Bryan Boreham 646e1e847d Merge branch 'release-2.53' into merge-2.53.1
5 months ago
Bryan Boreham 7083ae8267
[release 2.53] Revert 13583 to stop dropping samples in remote-write catch-up (#14446)
5 months ago
Bartlomiej Plotka 9198952f7c
[PRW 2.0] Merging `remote-write-2.0` feature branch to main (PRW 2.0 support + metadata in WAL) (#14395)
5 months ago
Arve Knudsen 694f717dc4 Watcher.readSegment: Only consider unknown rec types failures
6 months ago
Arve Knudsen a4942ffa8c Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
6 months ago
Arve Knudsen b2396c0c8f Upgrade to golangci-lint v1.59.0
6 months ago
Arve Knudsen 90145fa884 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
Arve Knudsen fb6a45f06b tsdb/wlog: Only treat unknown record types as failure
7 months ago
Arthur Silva Sens b5b5e1e5ae
Merge pull request #13919 from GiedriusS/dont_forget_to_unregister
7 months ago
Giedrius Statkevičius bdf490726a tsdb/wlog: add test for metrics unregistering
7 months ago
Giedrius Statkevičius 3b8fe00767 tsdb/wlog: unregister metrics on WL close
8 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
komisan19 0249e080b4 refactor: utilize standard functions max/min
8 months ago
Arve Knudsen 35aab01de0 tsdb/wlog.Checkpoint: Handle also float histograms
8 months ago
Arve Knudsen cef1025ea8 tsdb/wlog.Checkpoint: Fix counting of histogram samples
8 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham 925134e6de tsdb tests: make work with labels SymbolTable
9 months ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago
Bryan Boreham 6ed56c9f04 WAL watcher: improve comments
9 months ago
Bryan Boreham a975a83079 tsdb: clean up Watcher debug messages
9 months ago
Bryan Boreham 78f46bccca tsdb/wlog tests: remove unnecessary sleep check
9 months ago
Callum Styan 0c71230784
fix bug that would cause us to endlessly fall behind (#13583)
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
9 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Bryan Boreham 16e68c01e4 tests: remove err from message when testify prints it already
10 months ago
Paweł Szulik 5961f78186 Refactor tsdb tests to use testify.
10 months ago
Bryan Boreham 34230bb172 tsdb/wlog: close segment files sooner
10 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
12 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Matthieu MOREL 998fafe679
tsdb/wlog: use Go standard errors (#13144)
12 months ago
Julien Levesy e4ec263bcc
fix(wlog/watcher): read segment synchronously when not tailing (#13224)
12 months ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Matthieu MOREL dd8871379a remplace errors.Errorf by fmt.Errorf
1 year ago
Matthieu MOREL fb48a351f0 tsdb/wlog: use Go standard errors package
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Michal Biesek 04d7b4dbee
lint: Fix `SA1019` Using a deprecated function
1 year ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666)
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
Callum Styan 0d2108ad79
[tsdb] re-implement WAL watcher to read via a "notification" channel (#11949)
2 years ago
Robert Fratto 9e4e2a4a51
wlog: use filepath for getting checkpoint number
2 years ago