Commit Graph

865 Commits (ca600cfaffa30474bde8cd69af40661e5bc1fbb5)

Author SHA1 Message Date
Ben Ye 5a218708f1
tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143)
6 months ago
Sebastian Rabenhorst 05380aa0ac
agent db: make rejecting ooo samples configurable (#14094)
6 months ago
SuperQ 68ba6c1ae5
Add configuration option for GOGC
6 months ago
Arve Knudsen e57aac8084 Merge remote-tracking branch 'prometheus/main' into arve/close-engine
6 months ago
gotjosh 37b408c6cd
Feature: Allow configuration of a rule evaluation delay (#14061)
6 months ago
Arve Knudsen 0cc99e677a promql.Engine: Add Close method
6 months ago
SuperQ 25b0991c3d
Enable additional Go metrics
6 months ago
Arve Knudsen b2396c0c8f Upgrade to golangci-lint v1.59.0
6 months ago
Björn Rabenstein 1081e336a0
Merge pull request #14129 from prometheus/beorn7/doc
6 months ago
Björn Rabenstein 5c85a55e3f
Merge pull request #14120 from kushalShukla-web/remote
6 months ago
beorn7 3127a4029e doc: Clarify the limits of dumping/backfilling via OpenMetrics
6 months ago
Björn Rabenstein 3119b8a055
Merge pull request #13218 from machine424/ro-promtool
6 months ago
kushagra Shukla 0fea1065fe added line When set, query.max-concurrency may need to be adjusted accordingly. Signed-off-by: kushagra Shukla <kushalshukla110@gmail.com>
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
Bryan Boreham 8fd96241ab test: add promqltest package references
7 months ago
Arthur Silva Sens 0305490e4e
Merge pull request #13987 from prometheus/nativeHis-flag-ingestion
7 months ago
Arthur Silva Sens 7aacef9b42
bugfix: Decouple native histogram ingestions and protobuf parsing
7 months ago
Will Hegedus bd1878700b
promtool: Fix panic on extended tsdb analyze (#13976)
7 months ago
Julius Volz 5827772f69 Merge branch 'main' into mantine-ui
7 months ago
Julius Volz e8bbe191d4 Build both old & new UI into Prometheus, allow choosing via feature flag
7 months ago
machine424 c5a1cc9148
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be used for transient file writes.
7 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter
8 months ago
Bryan Boreham fc567a1df8
Merge pull request #13889 from komisan19/refactor/utilize_standard_functions_max/min
8 months ago
komisan19 0249e080b4 refactor: utilize standard functions max/min
8 months ago
Arthur Silva Sens db64d2dcdc
Update documentation about existing feature-flags
8 months ago
Artur Melanchyk 44dcf02c69
TSDB: make total lock-free by using atomic
8 months ago
Bryan Boreham 773170f372
Merge pull request #13822 from dgl/promtool-test-errors
8 months ago
David Leadbeater 7ec4a11472 promtool: Avoid using testify for user rule tests
8 months ago
heyitao c7ca85388f Fix yaml file format and clear ci errors
8 months ago
machine424 3eed6c760a
adjust signal termination warning log
9 months ago
Arthur Silva Sens 07355c9199
Bump client_golang to 1.19
9 months ago
Bryan Boreham e79b9ed2ab
Merge pull request #13194 from machine424/open
9 months ago
machine424 4b71f6ffc2
promtool: add a "tsdb dump-openmetrics" to dump in OpemMetrics format.
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham eff3a13e19 model/textparse: parsers take a labels SymbolTable
9 months ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib
9 months ago
Bryan Boreham 5a6c8f9c15 promtool: use go-cmp instead of DeepEqual
10 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Bryan Boreham 16e68c01e4 tests: remove err from message when testify prints it already
10 months ago
Paweł Szulik d5eb636a89 Refactor cmd tests to use testify.
10 months ago
Marco Pracucci ac1c6eb3ef
Fix typo in CLI flag description
10 months ago
Danny Kopping 5bda33375a
Rename flag
10 months ago
Danny Kopping e7758d187e
Refactor concurrency control
10 months ago
Danny Kopping ed2933ca60
Add feature flag
10 months ago
Danny Kopping 940f83a540
Implementation
10 months ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340)
10 months ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375)
10 months ago
SuperQ 2c0f9d1eee
Add automatic memory limit handling
10 months ago
Rewanth Tammana 102fd8cc88
Enhanced visibility for `promtool test rules` with JSON colored formatting (#13342)
10 months ago
tyltr f97fa2736c remove obsolete build tag
10 months ago
Giedrius Statkevičius b695e069b8
tsdb/main: wire "EnableOverlappingCompaction" to tsdb.Options (#13398)
10 months ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296)
10 months ago
zenador 6150e1ca0e
Add analyze histograms command to promtool (#12331)
11 months ago
Björn Rabenstein 9825a80498
Merge pull request #13023 from ptodev/prefer-to-not-register-metrics-globally-sd
12 months ago
Giedrius Statkevičius f36b56a62c
tsdb: remove unused option (#13282)
12 months ago
Paulin Todev 6279497124
Remove unnecessary else.
12 months ago
Paulin Todev 6a5306a53c
Use const labels for Discovery Manager metrics.
12 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Julien Pivotto 74cd1b6a09
Merge branch 'main' into add-focus-flag-to-promtool-test-rules
12 months ago
Julien Levesy 501f514389
feat(tsdb/agent): notify remote storage when commit happens (#13223)
12 months ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Fiona Liao 5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()`
1 year ago
Julien Pivotto c92fbf3fdf Add feature flag for PromQL experimental functions.
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Björn Rabenstein f2e02c52db
Merge pull request #12958 from ptodev/prefer-to-not-register-metrics-globally-scrape
1 year ago
Rens Groothuijsen 122f9506e9
Set test group interval default to evaluation interval (#13011)
1 year ago
Bartlomiej Plotka 6d083312e7
native-histograms: Fixed PrometheusProto scrape format preference. (#13010)
1 year ago
George Krajcsovits 7d7b9eacff
Fix int32 overflow issues (#12978)
1 year ago
Ziqi Zhao 1a6edff882
enhance promtool tsdb analyze command (#12869)
1 year ago
Paulin Todev 5752050b42
Scrape metrics can now be registered with a non-default registry.
1 year ago
Bartlomiej Plotka 624b973ebf
Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738)
1 year ago
Matthieu MOREL 67dcca5005 ci(lint): enable errorlint linter on cmd
1 year ago
ouyang1204 5d233df7ef
Fix rule check broken (#12715)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Bryan Boreham 5ecea3c840 promtool: fix compile error from bad merge
1 year ago
Ben Ye c78124427e
Support specifying series matchers to analyze tsdb (#12842)
1 year ago
Paschalis Tsilias c173cd57c9
Add a header to count retried remote write requests (#12729)
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665)
1 year ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666)
1 year ago
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667)
1 year ago
Arve Knudsen 6ef9ed0bc3
Add context argument to DB.Delete (#12834)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Ziqi Zhao eaaa21aa7f
promtool tsdb dump support native histogram (#12775)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
Sylvain Rabot 4399959f79
Remove native histograms / memory snapshot restriction
1 year ago
Goutham Veeramachaneni ad4f514e66
Add OTLP Ingestion endpoint (#12571)
1 year ago
Julien Pivotto b3b669fd9a Add experimental flag and docs
1 year ago
Rob Skillington e1ace8d00e Add PromQL format and label matcher set/delete commands to promtool
1 year ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666)
1 year ago
Bryan Boreham 578e2b6a3f re-order imports for linter
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
João Vilaça 81394ea1c5 Add --run flag to promtool test rules
1 year ago
Julien Pivotto 1214d314c3
Merge pull request #12225 from fgouteroux/feat/promtool_check_rules_stdin
1 year ago
Julien Pivotto 771f512757
Merge pull request #12299 from fgouteroux/promtool_push_metrics_cmd
1 year ago
François Gouteroux 58d38c4c56 fix: apply suggested changes
1 year ago
tyltr 0941ea4afc typo
1 year ago
François Gouteroux f676d4a756 feat refactoring checkrules func
2 years ago
Nidhey Nitin Indurkar a8772a4178
Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031)
2 years ago
François Gouteroux 6ae4a46845 feat: enhance stdin check and add tests parsing error
2 years ago
François Gouteroux 4341b98eb2 fix: apply suggested changes
2 years ago
François Gouteroux 934c5ddb8d feat: make push metrics labels generic and repeatable
2 years ago
François Gouteroux 3524a16aa0 feat: add suggested changes, tests, and stdin support
2 years ago
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336)
2 years ago
Callum Styan 0d2108ad79
[tsdb] re-implement WAL watcher to read via a "notification" channel (#11949)
2 years ago
Björn Rabenstein 37fe9b89dc
Merge pull request #12055 from leizor/leizor/prometheus/issues/12009
2 years ago
François Gouteroux b1bab7bc54 feat(promtool): add push metrics command
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
Justin Lei 052993414a Add storage.tsdb.samples-per-chunk flag
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
François Gouteroux 8472596fd0 fix: apply suggested changes
2 years ago
François Gouteroux 034eb2b3f2 promtool: read from stdin if no filenames are provided in check rules
2 years ago
Julien Pivotto 391473141d
Check health & ready: move to flags (#12223)
2 years ago
Ganesh Vernekar 5588cab8b2
Merge pull request #12173 from bboreham/builder-no-empty-labels
2 years ago
Nidhey Nitin Indurkar 3f7beeecc6
feat: health and readiness check of prometheus server in CLI (promtool) (#12096)
2 years ago
Łukasz Mierzwa f2b9a39a48 Use a random port in cmd/prometheus tests
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Julien Pivotto 1922db0586 Document command line tools
2 years ago
Bryan Boreham b96b89ef8b
Merge pull request #12048 from bboreham/faster-targets
2 years ago
Julien Pivotto 0c56e5d014 Update our own dependencies, support proxy from env
2 years ago
Bryan Boreham f4fd9b0d68 scrape: re-use memory in TargetsFromGroup
2 years ago
Bryan Boreham 5cfe759348 scrape: make TargetsFromGroup work with Builder not []Label
2 years ago
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
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
2 years ago
Bryan Boreham 19f300e6f0 Update package cmd/promtool tests for new labels.Labels type
2 years ago
Bryan Boreham bf2c827d91 Update package cmd/promtool for new labels.Labels type
2 years ago
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Ganesh Vernekar 6dd4e907a3
Update dependencies for 2.40 (#11524)
2 years ago
Ganesh Vernekar 04b370da00
Disable snapshot on shutdown if native histograms are enabled (#11473)
2 years ago
Ganesh Vernekar 05b7af28ee
Merge pull request #11450 from codesome/fix-conflict
2 years ago
Ganesh Vernekar 648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
2 years ago
Ganesh Vernekar 081ad2d690
Update help text for enable-feature to mention native-histograms
2 years ago
Ganesh Vernekar 3cbf87b83d
Enable protobuf negotiation only when histograms are enabled
2 years ago
Ganesh Vernekar 46b26c4f09
Fix notifier relabel changing the labels of active alerts (#11427)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Ganesh Vernekar f34aeefe6e
Allow overlapping blocks by default (#11331)
2 years ago
Paschalis Tsilias f2ee959354
Remove 'metadata-storage' CLI flag (#11351)
2 years ago