mirror of https://github.com/prometheus/prometheus
Merge pull request #7379 from prometheus/to-merge-release-2.19
Merge release-2.19 into masterpull/7381/head
commit
b71c00e13c
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -1,3 +1,16 @@
|
|||
## 2.19.0 / 2020-06-09
|
||||
|
||||
* [FEATURE] TSDB: Memory-map full chunks of Head (in-memory) block from disk. This reduces memory footprint and makes restarts faster. #6679
|
||||
* [ENHANCEMENT] Discovery: Added discovery support for Triton global zones. #7250
|
||||
* [ENHANCEMENT] Increased alert resend delay to be more tolerant towards failures. #7228
|
||||
* [ENHANCEMENT] Remote Read: Added `prometheus_remote_storage_remote_read_queries_total` counter to count total number of remote read queries. #7328
|
||||
* [ENHANCEMEMT] Added time range parameters for label names and label values API. #7288
|
||||
* [ENHANCEMENT] TSDB: Reduced contention in isolation for high load. #7332
|
||||
* [BUGFIX] PromQL: Eliminated collision while checking for duplicate labels. #7058
|
||||
* [BUGFIX] React UI: Don't null out data when clicking on the current tab. #7243
|
||||
* [BUGFIX] PromQL: Correctly track number of samples for a query. #7307
|
||||
* [BUGFIX] PromQL: Return NaN when histogram buckets have 0 observations. #7318
|
||||
|
||||
## 2.18.2 / 2020-06-09
|
||||
|
||||
* [BUGFIX] TSDB: Fix incorrect query results when using Prometheus with remote reads configured #7361
|
||||
|
|
|
@ -1184,7 +1184,7 @@ Metric relabeling is applied to samples as the last step before ingestion. It
|
|||
has the same configuration format and actions as target relabeling. Metric
|
||||
relabeling does not apply to automatically generated timeseries such as `up`.
|
||||
|
||||
One use for this is to blacklist time series that are too expensive to ingest.
|
||||
One use for this is to exclude time series that are too expensive to ingest.
|
||||
|
||||
### `<alert_relabel_configs>`
|
||||
|
||||
|
|
|
@ -78,13 +78,16 @@ func (e *CorruptionErr) Error() string {
|
|||
// ChunkDiskMapper is for writing the Head block chunks to the disk
|
||||
// and access chunks via mmapped file.
|
||||
type ChunkDiskMapper struct {
|
||||
// Keep all 64bit atomically accessed variables at the top of this struct.
|
||||
// See https://golang.org/pkg/sync/atomic/#pkg-note-BUG for more info.
|
||||
curFileNumBytes int64 // Bytes written in current open file.
|
||||
|
||||
/// Writer.
|
||||
dir *os.File
|
||||
|
||||
curFile *os.File // File being written to.
|
||||
curFileSequence int // Index of current open file being appended to.
|
||||
curFileMaxt int64 // Used for the size retention.
|
||||
curFileNumBytes int64 // Bytes written in current open file.
|
||||
|
||||
byteBuf [MaxHeadChunkMetaSize]byte // Buffer used to write the header of the chunk.
|
||||
chkWriter *bufio.Writer // Writer for the current open file.
|
||||
|
|
Loading…
Reference in New Issue