prometheus/cmd/promtool
Nicolas Peugnet 898af6102d
promtool: support creating tsdb blocks from a pipe (#16011)
This is very useful when piping the input file to stdin and then using
/dev/stdin as the input file. e.g.

    xzcat dump.xz |
    	promtool tsdb create-blocks-from openmetrics /dev/stdin /tmp/data

Signed-off-by: Nicolas Peugnet <nicolas.peugnet@lip6.fr>
2025-02-13 13:03:31 +11:00
..
testdata promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00
analyze.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
analyze_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
archive.go Use github.com/klauspost/compress for gzip and zlib 2024-02-22 17:08:15 +00:00
backfill.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 2025-02-12 15:47:56 +00:00
backfill_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
debug.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
main.go chore(deps): use version.PrometheusUserAgent 2025-01-22 07:31:02 +01:00
main_test.go promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00
metrics.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
query.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
rules.go promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00
rules_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
sd.go Scraping: stop storing discovered labels (#15261) 2024-12-21 13:33:08 +00:00
sd_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
tsdb.go promtool: support creating tsdb blocks from a pipe (#16011) 2025-02-13 13:03:31 +11:00
tsdb_posix_test.go promtool: support creating tsdb blocks from a pipe (#16011) 2025-02-13 13:03:31 +11:00
tsdb_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
unittest.go promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00
unittest_test.go promtool: add --ignore-unknown-fields 2025-01-15 11:34:28 +02:00