Commit Graph

656 Commits (bfa466d00f152aa8dd58494c171872d7f95e3d5e)

Author SHA1 Message Date
beorn7 e4e24453fa Merge branch 'main' into beorn7/merge2
3 years ago
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
jessicagreben 764f2d03a5 add const for exit codes
3 years ago
Matheus Alcantara d9a8c453a0
cmd: use t.TempDir instead of ioutil.TempDir on tests (#9852)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
Robert Fratto 72a9f7fee9
Share TSDB locker code with agent (#9623)
3 years ago
Mateusz Gozdek c08bb86be0 cmd/prometheus: use random listen port in TestStartupInterrupt test
3 years ago
Mateusz Gozdek 7bd7573891 cmd/prometheus/main_unix_test.go: fix unix test styling
3 years ago
Robert Fratto 4a83e6f453
Remove agent mode warnings when loading configs (#9622)
3 years ago
Mateusz Gozdek fa1b14e146 cmd/prometheus: randomize test port and isolate test data directory
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Bartlomiej Plotka 789274bf9c cmd: Fixed storage flag regression introduced in #9660
3 years ago
Sunil Thaha 4bdaea7663
fix: storage.tsdb.path randomly initialised to data-agent/ (#9660)
3 years ago
Bartlomiej Plotka e68ccc7708
Fix misleading agent-only/server-only check messages. (#9650)
3 years ago
Mateusz Gozdek c3beca72e2 cmd/prometheus: wait for Prometheus to shutdown in tests
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Julien Pivotto 807f46a1ed
Gate agent behind a feature flag, valide mode flags (#9620)
3 years ago
Darshan Chaudhary a7e554b158
add check service-discovery command (#8970)
3 years ago
Hu Shuai 4b799c361a
Fix in typo in cmd/prometheus/main.go (#9632)
3 years ago
Arthur Silva Sens be2599c853
config: Make remote-write required for Agent mode (#9618)
3 years ago
Robert Fratto bc72a718c4
Initial draft of prometheus-agent (#8785)
3 years ago
David Leadbeater c91c2bbea5
promtool: Show more human readable got/exp output (#8064)
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive
3 years ago
Will Tran 97b0738895
add --max-block-duration in promtool create-blocks-from rules (#9511)
3 years ago
Furkan Türkal 9d0058a09e
Bind port 0 in main_test (#9558)
3 years ago
Julien Pivotto 432005826d
Add a feature flag to enable the new discovery manager (#9537)
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
jessicagreben 60d0990886 add more explicit label values
3 years ago
jessicagreben 3da87d2f39 add unit test to check label rule labels override
3 years ago
Julien Pivotto f8372bc6b9 backfill: Apply rule labels after query labels
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto bd217c58a7
Backfill: Do not query after --end (#9340)
3 years ago
Julien Pivotto 1ea774f184
Merge pull request #9339 from roidelapluie/remove-double-align
3 years ago
Julien Pivotto 2bde71ec5f
Merge pull request #9338 from prometheus/release-2.30
3 years ago
Julien Pivotto 691ce066fb backfill: Do not align the start of the group since we align every rule.
3 years ago
jessicagreben b0a21f9eab rm overlap, add label builder to fix name bug
3 years ago
Julien Pivotto 0111aa987e
Merge pull request #9312 from fpetkovski/promtool-analyze-compaction
3 years ago
Julien Pivotto 48a101be1b
Allow to tune the scrape tolerance (#9283)
3 years ago
fpetkovski 449f874679 promtool: add extended flag for tsdb analysis
3 years ago
Julien Pivotto ad642a85c0
Merge pull request #9304 from LeviHarrison/backfill-fix-date
3 years ago
Julien Pivotto bd24e2fb92
Merge pull request #9303 from LeviHarrison/backfill-return-1
3 years ago
Levi Harrison ded95ff434
Fix new rule importer message
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
Holger Hans Peter Freyther 3a309c1ae5 promtool: Add simple benchmark checkDuplicates benchmark
3 years ago
Holger Hans Peter Freyther 794937b3d6 promtool: Add testcase for detecting duplicates
3 years ago
SuperQ 31f4108758
Add scrape_timeout_seconds metric
3 years ago
SuperQ e167a45c65
Add new Go build tags.
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 years ago
Ganesh Vernekar 095f572d4a
Sync sparsehistogram branch with main (#9189)
3 years ago
Ganesh Vernekar ee7e0071d1
Snapshot in-memory chunks on shutdown for faster restarts (#7229)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Julien Pivotto 04f33e88f7
Merge pull request #9121 from LeviHarrison/revert-klog-fix
3 years ago
Levi Harrison 58556c19be Revert "Fix logging after the move to go-kit/log (#9021)"
3 years ago
Ganesh Vernekar 507d61fdeb
Remove experimental tag on `--storage.tsdb.allow-overlapping-blocks` (#9117)
3 years ago
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
Levi Harrison 3b5257d869
Changed disabled_features to feature_flags
3 years ago
Ganesh Vernekar 78d68d5972
Make query_range serve histograms (#9036)
3 years ago
Filip Petkovski 7c125aa5fb
Promtool: Add support for compaction analysis (#8940)
3 years ago
Julius Volz 441e6cd7d6
Merge release-2.28 back into main (#9035)
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Ankit Goel d437cee73a
Move storage.tsdb.retention.size out of experimental #8728 (#9004)
3 years ago
Levi Harrison ca1896c15b
Promtool: Validate service discovery files (#8950)
3 years ago
Ganesh Vernekar 04ad56d9b8
Append sparse histograms into the Head block (#9013)
3 years ago
Steve Kuznetsov fd6c852567
promtool: backfill: allow configuring block duration (#8919)
3 years ago
Ganesh Vernekar 64bea6999e
HistogramAppender interface for sparse histograms (#9007)
3 years ago
Ben Kochie 7cb55d5732
Merge pull request #8802 from mwasilew2/yaml-linting
3 years ago
Julien Pivotto ba76bceb6b
Merge pull request #8917 from stevekuznetsov/skuznets/silence-backfill
3 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
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
Levi Harrison 7bc11dcb06
React UI: Add Starting Screen (#8662)
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Bartlomiej Plotka 80545bfb2e
Instrumented circular exemplar storage. (#8712)
4 years ago
nberkley f9e2dd0697
Add support for smaller block chunk segment allocations (#8478)
4 years ago
Julien Pivotto ae73a6296a
Merge pull request #8683 from cuirunxing-hub/main
4 years ago
cuirunxing-hub 57bc2e94e2 typos correct
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
jessicagreben 896c828bb5 close writer after flush
4 years ago
jessicagreben d89a1d999f add log with start/end times, close blocks before end of func
4 years ago
Ben Kochie f0bccba1c3
Update Go modules for 2.26 (#8636)
4 years ago
Julien Pivotto c0c36b1155
Improve promql-negative-offset docs (#8631)
4 years ago
jessicagreben 8de4da3716 add changes per comments, fix tests
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
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
Julien Pivotto 63ea88af82
Merge pull request #8575 from pfreixes/add-scrapes-parameter
4 years ago
Pau Freixes b1ac4a45e6 Add num scrapes as tsdb write benchmark command flag
4 years ago
Julien Pivotto ad5ed416ba
Merge pull request #8487 from pschou/dev_neg_offset
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
jessicagreben 9fc53b7edf fix appender.Add -> appender.Append
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
jessicagreben f2db9dc722 add multi rule integration tests
4 years ago
pschou f80b52be69
Merge branch 'main' into dev_neg_offset
4 years ago
schou 22cd48868a adding feature flag, promql-negative-offset
4 years ago
Julien Pivotto 8c8de46003
Merge pull request #8036 from dgl/promtool-alert-err
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Julien Pivotto 1fac1c783b
Merge pull request #8504 from rbauduin/require_alertname
4 years ago
Julien Pivotto 2d172d0896
Merge pull request #8508 from prometheus/release-2.25
4 years ago
Raphael Bauduin a7d64cad21 promtool: alert_rule_test items require alertname
4 years ago
Ganesh Vernekar c4536fa28c
Increase block writer size for backfilling
4 years ago
Julien Pivotto a419b75abd
Merge pull request #8485 from hryniuk/promtool-query-errors-details
4 years ago
Łukasz Hryniuk ab41de68b4 Print details of API errors
4 years ago
David Leadbeater 3e30f72af1 promtool: Add more negative alert tests
4 years ago
Julien Pivotto e29b47b39e
Merge pull request #8440 from mishamo/master
4 years ago
misha 1c3e7b4241 Use strings.Builder for neater error formatting
4 years ago
Tom Wilkie d479151f1f Various enhancements and refactorings for remote write receiver:
4 years ago
fuling 72475b8a0c [ENHANCEMENT] remote storage:Add default api implementation of remote write
4 years ago
misha c2c5aeb16b Add optional name property to testgroup for better test failure output
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 2316062d4e Deprecate --alertmanager.timeout
4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
4 years ago
Julien Pivotto ac2626757c Update exporter-toolkit to 0.5.0
4 years ago
Guangwen Feng 2df1a482da
Fix misspelled word in comment (#8348)
4 years ago
Julien Pivotto bc9f9ee3aa
Backfilling: fast-path for non-consecutive blocks (#8324)
4 years ago
Julien Pivotto 003d6451fc Promtool: add web config validation
4 years ago
Julien Pivotto 5b4f46a348 Add TLS and basic authentication
4 years ago
Ben Kochie 5055dfbbe4 Listen on web early in startup
4 years ago
beorn7 6bfa33308e promtool: Print block meta-data slightly more nicely
4 years ago
beorn7 651b57b9ab Merge branch 'backfillhr' of git://github.com/roidelapluie/prometheus into review
4 years ago
yeya24 cedd2dbec9 create output directory before backfilling
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
lzhfromustc 27a6e1e174
test: add buffer to channel to avoid goroutine leak (#8274)
4 years ago
Julien Pivotto 7957731339 Inline defer
4 years ago
Julien Pivotto 82b5f1d8b1 Backfill: Use mmap to reuse parser code
4 years ago
jessicagreben e32e4fcc53 fix unit test
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 19dee0a569 add name and labels to metric, eval all rules for each block
4 years ago
gotjosh 4eca4dffb8
Allow metric metadata to be propagated via Remote Write. (#6815)
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 61c9a89120 use milliseconds for blocksize
4 years ago
jessicagreben 6980bcf671 unexport backfiller
4 years ago