prometheus/docs
Steve Kuznetsov fd6c852567
promtool: backfill: allow configuring block duration (#8919)
* promtool: backfill: allow configuring block duration

When backfilling large amounts of data across long periods of time, it
may in certain circumstances be useful to use a longer block duration to
increase the efficiency and speed of the backfilling process. This patch
adds a flag --block-duration-power to allow a user to choose the power N
where the block duration is 2^(N+1)h.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

* promtool: use sub-tests in backfill testing

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

* backfill: add messages to tests for clarity

When someone new breaks a test, seeing "expected: false, got: true" is
really not useful. A nice message helps here.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

* backfill: test long block durations

A test that uses a long block duration to write bigger blocks is added.
The check to make sure all blocks are the default duration is removed.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2021-06-29 14:53:38 +05:30
..
configuration Remote Write: Add max samples per metadata send (#8959) 2021-06-24 15:39:50 -07:00
images Add 2.0 storage docs (#3423) 2017-11-07 22:00:38 +01:00
querying Revert change in label_join per @RichiH 2021-06-15 13:55:02 -06:00
disabled_features.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
federation.md Fix typo (#5796) 2019-07-24 10:41:14 +01:00
getting_started.md Various doc tweaks (#8111) 2020-10-27 09:50:37 +00:00
http_sd.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
index.md Update prometheus.io's URL to the latest version (#5270) 2019-02-27 10:39:50 +00:00
installation.md docs: minor corrections to the docker documentation (#6869) 2020-08-31 15:44:08 +01:00
management_api.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
migration.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
stability.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
storage.md promtool: backfill: allow configuring block duration (#8919) 2021-06-29 14:53:38 +05:30