Commit Graph

634 Commits (475f9984d0658e946773a855dcd34e035096dda7)

Author SHA1 Message Date
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
jessicagreben 3ed6457dd4 use blockwriter, rm multiwriter code
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
David Leadbeater e7e60623ff
promtool: Calculate mint and maxt per test (#8096)
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
Björn Rabenstein 71577e45eb
Merge pull request #8044 from prometheus/beorn7/metrics
4 years ago
Arthur Silva Sens 4f45e201cc
Promtool tsdb list now prints block sizes (#7993)
4 years ago
beorn7 0f3c1bf6cf Report valid configs in the respective metrics from the beginning
4 years ago
David Leadbeater 5393ec22cb promtool: Don't end alert tests early, in some failure situations
4 years ago
Frederic Branczyk da3ea43242
Merge pull request #7976 from roidelapluie/tolerance
4 years ago
Julien Pivotto be5ba1a62d Fix wordings
4 years ago
Julien Pivotto 4617d16b4b Specify the removal
4 years ago
Julien Pivotto e2a2bf3c06 Add context
4 years ago
Julien Pivotto 627ff84599 Adjust flag
4 years ago
Julien Pivotto 6b618ecf02 Better description
4 years ago
Julien Pivotto 536dfb6234 Add an experimental, hidden flag
4 years ago
Frederic Branczyk 6be3ebdfe7
Merge pull request #8015 from simonpasquier/bump-k8s-deps
4 years ago
Julien Pivotto 946819e16e
cmd/prometheus: Issue a warning on 32 bit archs (#8012)
4 years ago
Simon Pasquier 9bb3555fe4 cmd/prometheus: support k8s.io/klog/v2
4 years ago
David Leadbeater 77c784ac93
Ensure alert rules are marked as restored in unit tests (#7661)
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
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782)
4 years ago
Julien Pivotto d661f84748 Log duration of reloads
4 years ago
Annanay 9bba8a6eae Merge branch 'master' into appender-context
4 years ago
Julien Pivotto 01e3bfcd1a
Add warnings about NFS (#7691)
4 years ago
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683)
4 years ago
jessicagreben 7504b5ce7c add rule importer with tsdb block writer
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
chinhnc e05c19da5d
Display block duration in promtool list blocks command (#7653)
4 years ago
Ben Ye 50c261502e
add tsdb cmds into promtool (#6088)
4 years ago
Bartlomiej Plotka a0df8a383a
promql: Removed global and add ability to have better interval for subqueries if not specified (#7628)
4 years ago
Julien Pivotto b83cbacbdd
Rule manager: remove blocking channel in mail (#7631)
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
Frederic Branczyk d17d88935c
rules: Use narrower interface for rule manager loading of for state (#7472)
4 years ago
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
4 years ago
Harkishen Singh 70b0a34616
Exit early on invalid config file (#7399)
4 years ago
Ben Kochie 8d3c2f6829
Enable WAL compression by default (#7410)
5 years ago
Jordan Neufeld 268b4c29e1
Support extended durations in promtool unit tests (Fixes #6285) (#6297)
5 years ago
Arthur Silva Sens 7727b9012e
Correction of misleading help text(#5142) (#7231)
5 years ago
Julien Pivotto 9e265aba10
Merge pull request #7225 from prometheus/release-2.18
5 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
Julien Pivotto 645b71e9ef
Fix snapshots (#7217)
5 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679)
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
Vasily Sliouniaev 0393b188c9
Add Jaeger (#7148)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
johncming bbacd2dd09
remove needless break. (#7008)
5 years ago
李国忠 52025bd7a9
[comments] change word ‘wheter’ to ‘whether’ (#6912)
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
5 years ago
Bartlomiej Plotka 48ead578a0 Moved tsdbconfig to main.
5 years ago
Bartlomiej Plotka a20bebf7eb Moved readyStorage to main.
5 years ago
Bartlomiej Plotka 8a775bc468 Moved unit agnostic options to separate pkg.
5 years ago
Bartlomiej Plotka 59c9d6ef45 Addressed Brian's comments, moved metrics to main.go
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Tobias Guggenmos 454ba12676 Fix build errors in promtool
5 years ago
Björn Rabenstein af04cb22c8
Merge pull request #6821 from prometheus/release-2.16
5 years ago
Julien Pivotto ff0003e072
Make lookbackDelta a option of QueryEngine (#6746)
5 years ago
Julien Pivotto d799078c88 also test start and end
5 years ago
Julien Pivotto 881dde505a promql: fix promql query log step unit
5 years ago
Julien Pivotto 3c4c01eae2
Fix race in Query Log Test (#6727)
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Julien Pivotto 0eb34299da End-to-end Query Log test (#6600)
5 years ago
Julien Pivotto 1a58d2657d Removed compilation step inside main_test (#6658)
5 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533)
5 years ago
Julien Pivotto 3885562587 Query Logging styling (#6594)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Simon Pasquier cccd542891
*: avoid missed Alertmanager targets (#6455)
5 years ago
Brooks Swinnerton 0ea3a2218d Add time units to storage.tsdb.retention.size flag (#6365)
5 years ago
johncming ad4bc5701e remove unwanted break (#6338)
5 years ago
akerele abraham 9d39fdad0c unittest: check for rule files existence (#6075)
5 years ago
Chris Marchbanks 1d1f64b4bc
Fix Promtool showing false duplicate rule warnings (#6270)
5 years ago
Simon Pasquier ddff1480a7
cmd/promtool: improve output for PromQL tests (#6052)
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
Bartek Płotka 48b2c9c8ea
remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703)
5 years ago
Bartek Płotka 5cb32d67f9
Merge pull request #5893 from prometheus/unify-tsdbutil
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Advait Bhatwadekar 5d401f1e1b Added query logging for prometheus. Issue #1315 (#5794)
5 years ago
Simon Pasquier 75886e0464 cmd/promtool: fix panic with empty exp_labels
5 years ago
Chris Marchbanks 06f1ba73eb
Provide flag to compress the tsdb WAL
5 years ago
Tom Wilkie 851131b074
Allow injection of arbitrary headers in promtool, for auth etc. (#4389)
5 years ago
Simon Pasquier be67b8d460
web: fix flaky TestHTTPMetrics() (#5695)
6 years ago
Björn Rabenstein dc22f74153
Merge pull request #5608 from simonpasquier/external-labels-for-alert-tests
6 years ago
Björn Rabenstein 372b3438e5 Update prometheus/client_golang to v1.0.0 (#5682)
6 years ago
Keenan Romain 55f3a9fe4a Allows globs for rules when unit testing (#5595)
6 years ago
Simon Pasquier 74ff35ccdd cmd/promtool: add $externalLabels for alert unit tests
6 years ago
beorn7 aff4738f33 Adjust TestQueryRange to new Prometheus API client
6 years ago
Lee Gaines f4486815c1 logs filesystem type on startup (#5558)
6 years ago
Björn Rabenstein 0a34399611 Fix minor punctuation and language issues in flag doc strings (#5568)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Simon Pasquier 9c69eec82a cmd/promtool: use log.NewNopLogger() (#5531)
6 years ago
Frederic Branczyk c790d7658c
Merge pull request #5491 from metalmatze/rungroup
6 years ago
Björn Rabenstein 0be9388f8d
Merge pull request #5463 from prometheus/beorn7/templating
6 years ago
Simon Pasquier abc1994bec
cmd/promtool: return errors from rule evaluations (#5483)
6 years ago
Matthias Loibl 388caa06ac
Use github.com/oklog/run not archived oklog/oklog
6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
6 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors
6 years ago
Sylvain Rabot 335a34486e Add external labels to template expansion
6 years ago
Simon Pasquier e5dbac7972 cmd/prometheus: group flags properly (#5419)
6 years ago
David Symonds 7a60e22c2d cmd/promtool: resolve relative paths in alert test files (#5336)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Brian Brazil 0a87dcd416
cmd: Warn rather than Info when retention time wraps (#5403)
6 years ago
Krasi Georgiev 9d96ada510 Display correct values for the retention in the flags web gui. (#5322)
6 years ago
Krasi Georgiev 1684dc750a
updated tsdb to 0.6.0 (#5292)
6 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211)
6 years ago
Krasi Georgiev a3c41f4256
use the default time retention value only when no size retention is set (#5216)
6 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write
6 years ago
Brian Brazil 1dd57765b4
Reduce time that alertmanagers are in flux when reloaded. (#5126)
6 years ago
Goutham Veeramachaneni 4068968e12
Protect retention from overflowing (#5112)
6 years ago