mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 06:59:40 -08:00
090b6852e1
* remove unused `PrefixMatcher` Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
17 lines
1.3 KiB
Markdown
17 lines
1.3 KiB
Markdown
## master / unreleased
|
|
- [CHANGE] New `WALSegmentSize` option to override the `DefaultOptions.WALSegmentSize`. Added to allow using smaller wal files. For example using tmpfs on a RPI to minimise the SD card wear out from the constant WAL writes. As part of this change the `DefaultOptions.WALSegmentSize` constant was also exposed.
|
|
- [REMOVED] `PrefixMatcher` is considered unused so was removed.
|
|
- [CLEANUP] `Options.WALFlushInterval` is removed as it wasn't used anywhere.
|
|
|
|
## 0.3.1
|
|
- [BUGFIX] Fixed most windows test and some actual bugs for unclosed file readers.
|
|
|
|
## 0.3.0
|
|
- [CHANGE] `LastCheckpoint()` used to return just the segment name and now it returns the full relative path.
|
|
- [CHANGE] `NewSegmentsRangeReader()` can now read over miltiple wal ranges by using the new `SegmentRange{}` struct.
|
|
- [CHANGE] `CorruptionErr{}` now also exposes the Segment `Dir` which is added when displaying any errors.
|
|
- [CHANGE] `Head.Init()` is changed to `Head.Init(minValidTime int64)`
|
|
- [CHANGE] `SymbolTable()` renamed to `SymbolTableSize()` to make the name consistent with the `Block{ symbolTableSize uint64 }` field.
|
|
- [CHANGE] `wal.Reader{}` now exposes `Segment()` for the current segment being read and `Offset()` for the current offset.
|
|
-[FEATURE] tsdbutil analyze subcomand to find churn, high cardinality, etc.
|