mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Merge pull request #17537 from rauldsl/prometheus-docs
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
[Doc] Storage.md - Paragraph Rewrite
This commit is contained in:
commit
3c53abc9e7
1 changed files with 7 additions and 7 deletions
|
|
@ -11,13 +11,13 @@ Prometheus's local time series database stores data in a custom, highly efficien
|
|||
|
||||
### On-disk layout
|
||||
|
||||
Ingested samples are grouped into blocks of two hours. Each two-hour block consists
|
||||
of a directory containing a chunks subdirectory containing all the time series samples
|
||||
for that window of time, a metadata file, and an index file (which indexes metric names
|
||||
and labels to time series in the chunks directory). The samples in the chunks directory
|
||||
are grouped together into one or more segment files of up to 512MB each by default. When
|
||||
series are deleted via the API, deletion records are stored in separate tombstone files
|
||||
(instead of deleting the data immediately from the chunk segments).
|
||||
Ingested samples are grouped into two-hour blocks. Each block consists of a directory that
|
||||
contains a chunks subdirectory with all the time series samples for that time window,
|
||||
a metadata file, and an index file (which maps metric names and labels to the time series
|
||||
in the chunks directory). The samples in the chunks directory are organized into one
|
||||
or more segment files, each up to 512 MB by default. When series are deleted via the API,
|
||||
the deletion records are stored in separate tombstone files rather than being immediately
|
||||
removed from the chunk segments.
|
||||
|
||||
The current block for incoming samples is kept in memory and is not fully
|
||||
persisted. It is secured against crashes by a write-ahead log (WAL) that can be
|
||||
|
|
|
|||
Loading…
Reference in a new issue