15 Commits (4202be5e7968606e840d33f580f1513cfe9362f0)

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
Giedrius Statkevičius 3b8fe00767 tsdb/wlog: unregister metrics on WL close 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
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors 12 months ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068) 12 months 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
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
ansalamdaniel c1c444504e
Feat: metrics for head_chunks & wal folders (#12013) 2 years ago
Jesus Vazquez 775d90d5f8
TSDB: Rename wal package to wlog (#11352) 2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075) 2 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
Sunil Thaha a484a83d4a
fix: panic when checkpoint directory is empty (#9687) 3 years ago
beorn7 a1e595edac Fix two trivial lint warnings 3 years ago
johncming b882d2b7c7
tsdb/wal: Avoid writing closed channel. (#9566) 3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive 3 years ago
Ganesh Vernekar 095f572d4a
Sync sparsehistogram branch with main (#9189) 3 years ago
Ganesh Vernekar ee7e0071d1
Snapshot in-memory chunks on shutdown for faster restarts (#7229) 3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 4 years ago
Chris Marchbanks 7c7dafc321
Do not snappy encode if record is too large (#8790) 4 years ago
Chris Marchbanks bedcd88343
Compress records before checking segment size (#8501) 4 years ago
Marco Pracucci 63be30dcee
Fixed WAL corruption on partial writes within a page (#8125) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Ganesh Vernekar 2255b6f62f
Refactor WAL.Segments method to be part of the wal package (#6477) 4 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043) 5 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033) 5 years ago
Ben Kochie 269e7c8091
Fix golint issues. 5 years ago
Ganesh Vernekar e64a149984
Close Head in DBReadOnly.FlushWAL (#7022) 5 years ago
zhulongcheng e813f60fd6
tsdb: fix sequence check for WAL segments (#7032) 5 years ago
李国忠 261cbab8e9
remove Unused parameter 'reg' in wal.Open function (#6941) 5 years ago
johncming c30abf1e2b tsdb/wal: remove unused argument. 5 years ago
John McBride 669592a2c4 Exports metric for WAL write errors (#6647) 5 years ago
Dipack P Panjabi ce7bab04dd Compute WAL size and use it during retention size checks (#5886) 5 years ago
johncming 612f9cb361 tsdb/wal: pull out wal metrics separately as tsdb.DB (#5957) 5 years ago
Erfan Besharat 9336c01dfd Add methods to fetch page's buf data in tsdb WAL (#5967) 5 years ago
陈谭军 50d453b3c3 fix-up tsdb-typo (#5954) 5 years ago
johncming 7d43feb03f tsdb/wal: some small refactoring for easier reading (#5930) 5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 5 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 5 years ago
YaoZengzeng 104566ae53 enhancement: 1. don't flush the page if it's last fragment of the record 5 years ago
Krasi Georgiev 6f9bbc7253
Open db in Read only mode (#588) 5 years ago
Chris Marchbanks b40cc43958 Provide option to compress WAL records (#609) 6 years ago
beorn7 90a7612df3 Make objectives of Summaries explicit 6 years ago
Brian Brazil be4edbe174
Start a new WAL segement on head truncation. (#605) 6 years ago