Commit Graph

173 Commits (28f22b4d80aed4e7cafcc4f42c086521479b6def)

Author SHA1 Message Date
Julien Pivotto 599b70a05d Add include scrape configs
2 years ago
Martin Chodur f1de2cec3d fix: set the http round tripper fro promtool import command
2 years ago
Martin Chodur 3ebe4b48db feat: add promtool http config support
2 years ago
Amin Borjian 90d6873c7f promtool: add support of selecting timeseries for TSDB dump
2 years ago
Bryan Boreham bf2c827d91 Update package cmd/promtool for new labels.Labels type
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Levi Harrison d61459d826
`no-default-scrape-port` feature flag (#9523)
2 years ago
Julien Pivotto 13bd4fd3c8
Fix promtool check config not erroring properly on failures (#10952)
2 years ago
David Leadbeater 355b8bcf0b
Add --lint-fatal option (#10815)
3 years ago
Matthieu MOREL 36eee11434
refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733)
3 years ago
Ben Ye af5ea213f7
promtool: support matchers when querying label values (#10727)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Filip Petkovski 1c1b174a8e
Add a --lint flag to the promtool check rules and check config commands (#10435)
3 years ago
Julien Pivotto f9d8e5245a
Plugins support (#10495)
3 years ago
beorn7 b39f2739e5 PromQL: Always enable negative offset and @ modifier
3 years ago
chenlujjj 2ce94ac196
Add '--weight' flag to 'promtool check metrics' command (#10045)
3 years ago
Jessica G 174a1147d5
Merge pull request #9861 from JessicaGreben/minor-prom-improvements
3 years ago
jessicagreben 4b03fa3100 replace config exit code with failure exit code
3 years ago
zzehring 42628899b5 promtool: Add `--syntax-only` flag for `check config`
3 years ago
jessicagreben 99bb56fc46 add errcodes from sd file
3 years ago
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883)
3 years ago
jessicagreben 764f2d03a5 add const for exit codes
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Darshan Chaudhary a7e554b158
add check service-discovery command (#8970)
3 years ago
Arthur Silva Sens be2599c853
config: Make remote-write required for Agent mode (#9618)
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Will Tran 97b0738895
add --max-block-duration in promtool create-blocks-from rules (#9511)
3 years ago
fpetkovski 449f874679 promtool: add extended flag for tsdb analysis
3 years ago
Julien Pivotto bd24e2fb92
Merge pull request #9303 from LeviHarrison/backfill-return-1
3 years ago
Levi Harrison 34e1b47968
Fixed error handling
3 years ago
Holger Hans Peter Freyther 5edec40d60 promtool: Speed up checking for duplicate rules
3 years ago
Levi Harrison 3b5257d869
Changed disabled_features to feature_flags
3 years ago
Filip Petkovski 7c125aa5fb
Promtool: Add support for compaction analysis (#8940)
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Levi Harrison ca1896c15b
Promtool: Validate service discovery files (#8950)
3 years ago
Steve Kuznetsov fd6c852567
promtool: backfill: allow configuring block duration (#8919)
3 years ago
Julien Pivotto ba76bceb6b
Merge pull request #8917 from stevekuznetsov/skuznets/silence-backfill
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Steve Kuznetsov ee771a2a66
promtool: backfill: allow silencing output
4 years ago
Jess G 731545ad34
Add documentation for recording rule backfiller (#8674)
4 years ago
Julien Pivotto e635ca834b Add environment variable expansion in external label values
4 years ago
Björn Rabenstein 9549a15c6f
Merge pull request #7675 from JessicaGreben/jg/11-retroactive-rule-eval
4 years ago
Ben Kochie f0bccba1c3
Update Go modules for 2.26 (#8636)
4 years ago
jessicagreben 8de4da3716 add changes per comments, fix tests
4 years ago
jessicagreben e3a8132bb3 fix block alignment, add sample alignment
4 years ago
jessicagreben 7c26642460 add block alignment and write in 2 hr blocks
4 years ago
Pau Freixes b1ac4a45e6 Add num scrapes as tsdb write benchmark command flag
4 years ago
Arthur Silva Sens 537c0aff49
Prometheus and Promtool binaries now print help and usage to stdout (#8542)
4 years ago
jessicagreben 78e84aed89 resolve merge conflict
4 years ago
Łukasz Hryniuk ab41de68b4 Print details of API errors
4 years ago
Julien Pivotto c1f8bd9944
Merge pull request #8432 from roidelapluie/backfillpanic
4 years ago
Julien Pivotto 9334269f2b backfill: move checkErr before we close the mmaped file
4 years ago
Jeremy Albinet 4a1f2c097e Typo on plural in checkRules/checkDuplicates
4 years ago
Julien Pivotto ac2626757c Update exporter-toolkit to 0.5.0
4 years ago
Julien Pivotto 003d6451fc Promtool: add web config validation
4 years ago
beorn7 651b57b9ab Merge branch 'backfillhr' of git://github.com/roidelapluie/prometheus into review
4 years ago
Julien Pivotto 53480c168d Backfill: print created blocks only, add human-readable option
4 years ago
AdaephonBen dca6954b0a
promtool: Add URL scheme when not provided (#7956)
4 years ago
jessicagreben cec3515fa3 fix linter
4 years ago
jessicagreben 2e9946e4d7 add test
4 years ago
jessicagreben ac06d0a657 merge master/resolve conflict
4 years ago
jessicagreben ee85c22adb flush samples to disk every 5k samples
4 years ago
Atibhi Agrawal b317b6ab9c
Backfill from OpenMetrics format (#8084)
4 years ago
jessicagreben 5dd3577424 change name of promtool subcommand to create-blocks-from
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 6980bcf671 unexport backfiller
4 years ago
jessicagreben 3ed6457dd4 use blockwriter, rm multiwriter code
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
jessicagreben 36ac0b68f1 merge master, fix conflicts
4 years ago
jessicagreben 2e526cf2a7 add output dir parameter
4 years ago
jessicagreben dfa510086b add alignment, mv rule importer to promtool dir, add queryRange
4 years ago
Julien Pivotto 442b3364d7
Promtool: add evaluation time to instant query (#7829)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
jessicagreben 7504b5ce7c add rule importer with tsdb block writer
4 years ago
Ben Ye 50c261502e
add tsdb cmds into promtool (#6088)
4 years ago
Ben Ye e6ea798c32
promtool range query should exit when fail to parse time (#7505)
4 years ago
yeya24 797e48c1a3 support time range in promtool query labels
4 years ago
Hongcai Ren c7e82274c6
replace github.com/prometheus/prometheus/testutil/promlint by github.com/prometheus/client_golang/prometheus/testutil/promlint from our codebase (#7209)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533)
5 years ago
Chris Marchbanks 1d1f64b4bc
Fix Promtool showing false duplicate rule warnings (#6270)
5 years ago
Harkishen Singh e097c70e6d add checks for metrics and display duplicate fields (#6026)
5 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965)
5 years ago
Sayan Chowdhury cb66e325d8 Show the warnings during label query (#5924)
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Tom Wilkie 851131b074
Allow injection of arbitrary headers in promtool, for auth etc. (#4389)
5 years ago
Björn Rabenstein 372b3438e5 Update prometheus/client_golang to v1.0.0 (#5682)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211)
6 years ago
Krasi Georgiev 080e6ed31a
collect cpu and trace profiles with the promtool debug command (#4897)
6 years ago
stuart nelson 6a69471bc2
[promtool] Support writing output as json (#4848)
6 years ago
Frederic Branczyk bda9781ccd
Merge pull request #3839 from brancz/remove-old-alert-record
6 years ago
Ganesh Vernekar 5790d23fd8 Unit testing for rules (#4350)
6 years ago
Frederic Branczyk b0b3e3dd74
promql: Remove old and unused alerting/reconding syntax
6 years ago
Dave Henderson 73a08f0045 promtool - Adding --step flag to 'query range' subcommand (#4454)
6 years ago
Daisy T a3376e8f36 add query labels command to promtool (#4346)
6 years ago
Julius Volz 95dfb1b1dd
Add missing import to promtool, fix build (#4395)
6 years ago
Shubheksha 125da3b812 promtool: add command for querying series (#4308)
6 years ago