Commit Graph

372 Commits (fafb309d4027b050c917362d7d2680c5ad6f6e9e)

Author SHA1 Message Date
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Marco Pracucci 4b49ffbad5
Stop the bleed on chunk mapper panic (#8723)
4 years ago
Chris Marchbanks 7c7dafc321
Do not snappy encode if record is too large (#8790)
4 years ago
Ben Ye 8f05cd8f9e
tsdb: move exemplar series labels to index entry (#8783)
4 years ago
Ben Ye 9e8df5ade9
check latest exemplar timestamp (#8782)
4 years ago
Fiona Liao 9b83d8330a
Fix memSafeIterator.Seek() (#8748)
4 years ago
Marco Pracucci 52df5ef7a3
TSDB: do not allocate exemplars buffer if exemplars are disabled (#8746)
4 years ago
Bartlomiej Plotka 80545bfb2e
Instrumented circular exemplar storage. (#8712)
4 years ago
nberkley f9e2dd0697
Add support for smaller block chunk segment allocations (#8478)
4 years ago
Christian Simon 9781e51f59
Correct spelling of "iterable" (#8713)
4 years ago
Guangwen Feng 7985c4e6af Fix golint issue caused by typo
4 years ago
jinglina 431ea75a11
remove redundant type conversion (#8692)
4 years ago
Björn Rabenstein 9549a15c6f
Merge pull request #7675 from JessicaGreben/jg/11-retroactive-rule-eval
4 years ago
Bryan Boreham c7a62b95ce
GetRef() now returns the label set (#8641)
4 years ago
jessicagreben 8de4da3716 add changes per comments, fix tests
4 years ago
Bryan Boreham d614ae9ecf
[RFC] Add method to get reference number for TSDB Appender (#8600)
4 years ago
Marco Pracucci 6248e685b2
TSDB: optimize series creation on PreCreation() failure (#8620)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
jessicagreben 591e719dc1 fix failing blockwriter tests
4 years ago
Bartlomiej Plotka 8bf7bc68f1
Fixed TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks for go1.16 (#8538)
4 years ago
jessicagreben 78e84aed89 resolve merge conflict
4 years ago
Julien Pivotto 432d5ebc6c Rename default branch to main
4 years ago
Julien Pivotto 889dd0bbd3 Fix DB tests in the default branch
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Goutham Veeramachaneni 404d85f7a8
Add ability to set minValidTime in TSDB (#8415)
4 years ago
Chris Marchbanks bedcd88343
Compress records before checking segment size (#8501)
4 years ago
Arthur Silva Sens 6a3d55db0a
Rolling tombstones clean up (#8007)
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Dustin Hooten b9f0baf6ff
Combine NewHead() args into a HeadOptions struct (#8452)
4 years ago
Marcelo E. Magallon 75d86c6747 Update golangci-lint to 1.36.0
4 years ago
Goutham Veeramachaneni e572e77d90
Increase the buckets for compaction duration (#8342)
4 years ago
Ganesh Vernekar a7e446cf2d
Link blog post on TSDB queries in tsdb/README.md (#8391)
4 years ago
Marco Pracucci d8c17025df
Fix TSDB head struct dump on querier error (#8379)
4 years ago
Li Zhijian 9602933db2
Cleanup tempfiles in tests (#8179)
4 years ago
Nguyen Le Vu Long fbe960f2c1
fix: remove pre-2.21 tmp blocks on start (#8353)
4 years ago
Arthur Silva Sens 7e932637e3
Reload tsdb blocks every minute (#8340)
4 years ago
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Guangwen Feng e2cd6c5f57 Fix golint issue caused by typo
4 years ago
Björn Rabenstein 7889bdf16e
Merge pull request #8313 from pracucci/lower-compactor-overlapping-blocks-log
4 years ago
arthursens 8493704b9b Change seconds()*1000 to milliseconds()
4 years ago
Marco Pracucci 2b4b138244
Lowered 'Found overlapping blocks during compaction' log level
4 years ago
Ganesh Vernekar faa1554aa1
Don't call runtime.GC() after compaction (#8276)
4 years ago
Arthur Silva Sens 64a106c5dd
Logging added for when compaction takes more than the block time range (#8151)
4 years ago
johncming a6e18916ab
tsdb: Remove duplicate variables. (#8239)
4 years ago
jessicagreben ac06d0a657 merge master/resolve conflict
4 years ago
Atibhi Agrawal b317b6ab9c
Backfill from OpenMetrics format (#8084)
4 years ago
Ganesh Vernekar dff967286e
Set the min time of Head properly after truncation (#8212)
4 years ago
jessicagreben 19dee0a569 add name and labels to metric, eval all rules for each block
4 years ago
Chris Marchbanks c8f810083d
Cache label name and last value when adding series (#8192)
4 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201)
4 years ago
Bartlomiej Plotka 4513537034
Exposed DeletionIterator and CompactMetas functions. (#8161)
4 years ago
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139)
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 3ed6457dd4 use blockwriter, rm multiwriter code
4 years ago
Marco Pracucci 63be30dcee
Fixed WAL corruption on partial writes within a page (#8125)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
johncming 28ca0965f0
tsdb/chunkenc: fix typo of return error. (#7670)
4 years ago
Ganesh Vernekar 3245b3267b
Don't use returned DB to close resources on TSDB startup error (#8113)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Arthur Silva Sens c5a832b394
Close resources after failing to startup TSDB (#8031)
4 years ago
Brian Brazil fdf1c29224
Fix metric description of prometheus_tsdb_symbol_table_size_bytes. (#8080)
4 years ago
Ganesh Vernekar ce4b3ac282
Simplify TestHeadReadWriter_Truncate (#7437)
4 years ago
Ganesh Vernekar 2624d827fa
Read repair empty last file in chunks_head (#8061)
4 years ago
Bartlomiej Plotka 2fe1e9fa93
Create a checkpoint only at the end of Compact call (#8067)
4 years ago
Ganesh Vernekar d9cd913219
Add links to TSDB blog post series in tsdb/README.md (#8078)
4 years ago
Julien Pivotto 59733b1a26
TSDB: use `blocks` instead of db.blocks in condition (#8068)
4 years ago
Ganesh Vernekar 5de7d15879
Consistent naming and better names for fields in TSDB format docs (#8077)
4 years ago
jessicagreben 36ac0b68f1 merge master, fix conflicts
4 years ago
Bartlomiej Plotka 9981b3f3ee
labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025)
4 years ago
Ganesh Vernekar 4ed3ec7b46
More info in mmap error message (#8058)
4 years ago
frbimo 260cd84d8f
log on empty head compaction result (#8037)
4 years ago
Gayathri Venkatesh 73e2ce1bd6
Do not ignore reload errors in compactHead (#8051)
4 years ago
Goutham Veeramachaneni 1cc02930b6
Implement series API query hint to not hit chunks (#8050)
4 years ago
Ling Jin 9145200842
tsdb: fix unkown ref in log (#8048)
4 years ago
Arthur Silva Sens 4f45e201cc
Promtool tsdb list now prints block sizes (#7993)
4 years ago
Jess G 90680b092c
Add a tsdb writer interface (#7950)
4 years ago
garanews c38816828f
fix few typo (#8023)
4 years ago
Brian Brazil 073e93c768
Gracefully handle unknown WAL record types. (#8004)
4 years ago
Ganesh Vernekar 50ae4e298b
Fix magic number in docs (#7998)
4 years ago
Ganesh Vernekar f0d87b5d86
Encode and Decode method for tombstones (#7967)
4 years ago
Max Neverov 7e1c27b853
Add tsdb startup duration metric (#7737)
4 years ago
Jorge Vallecillo 7aa5fb01bf
tsdb/chunks/head_chunks_test.go: Fix typo (#7953)
4 years ago
Tobias Klauser b5b3bc34da
tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix (#7949)
4 years ago
Xiaochao Dong a282d25099
tsdb: remove duplicate values set to reduce memory usage(map overhead) (#7915)
4 years ago
zhulongcheng 5ea6bdca1f
tsdb: sync temporary checkpoint directory before rename (#7004)
4 years ago
johncming 75ae384192
tsdb: remove redundant fields. (#7869)
4 years ago
Ganesh Vernekar 2255b6f62f
Refactor WAL.Segments method to be part of the wal package (#6477)
4 years ago
johncming 252265fa81
tsdb/chunks: remove un-used code. (#6944)
4 years ago
Ganesh Vernekar c806262206
Fix 'chunks.HeadReadWriter: maxt of the files are not set' error (#7856)
4 years ago
Yukun Sun cfd4e05c9e
fix: return a corruption error when iterator function find a chunk that is out of sequence (#7855)
4 years ago
Max Neverov bb5c6b38e2
Fix Possible Race Condition in TSDB (#7815)
4 years ago
johncming 3e7b463908
add testcase for rangeForTimestamp. (#6454)
4 years ago
Guangwen Feng 9439b2150d
Fix golint warning caused by misspell (#7842)
4 years ago
johncming b521612042
tsdb: simplify code. (#7792)
4 years ago
gastonqiu 5a7d398d19
Chore: Log segment number when segment read failed (#7687)
4 years ago
johncming d19fc71903
tsdb: use NewRangeHead instead. (#7793)
4 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782)
4 years ago
Bartlomiej Plotka f16cbc20d6
tsdb: Bug fix for further continued deletions after crash deletions; added more tests. (#7777)
4 years ago