Commit Graph

766 Commits (0833d2a230c422ad5ce99e096702ce1802efae73)

Author SHA1 Message Date
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
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
Bryan Boreham c438b50133 cmd/promtool: in tests use labels.FromStrings
2 years ago
Bryan Boreham 735914f692 cmd/prometheus: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Paschalis Tsilias 5a8e202f94
Append metadata to the WAL in the scrape loop (#10312)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Levi Harrison fa9bc5184a
Update and fix interface (#11131)
2 years ago
Levi Harrison d61459d826
`no-default-scrape-port` feature flag (#9523)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Julien Pivotto 7a2d24b76a
Fix flakiness in windows tests (#10983)
2 years ago
Julien Pivotto 13bd4fd3c8
Fix promtool check config not erroring properly on failures (#10952)
2 years ago
lixin18 735a07444a
Update main_unix_test.go (#10917)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
David Leadbeater 355b8bcf0b
Add --lint-fatal option (#10815)
3 years ago
Ben Kochie 9570924511
Merge pull request #9638 from prometheus/superq/agentMode
3 years ago
Matthieu MOREL 36eee11434
refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733)
3 years ago
Łukasz Mierzwa 44e5f220c0
Move prometheus_ready metric to web package (#10729)
3 years ago
Łukasz Mierzwa 070e409dba
Add prometheus_ready metric (#10682)
3 years ago
Ben Ye af5ea213f7
promtool: support matchers when querying label values (#10727)
3 years ago
Łukasz Mierzwa d3c9c4f574
Stop rule manager before TSDB is stopped (#10680)
3 years ago
Alban Hurtaud 41630b8e88
Add hidden flag to configure discovery loop interval (#10634)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
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
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto 390956d317
Log gomaxprocs messages (#10506)
3 years ago
TomasKohout c0fd228bad
Add dependency on go.uber.org/automaxprocs (#10498)
3 years ago
Julien Pivotto f9d8e5245a
Plugins support (#10495)
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
Mauro Stettler b025390cb4
Disable chunk write queue by default, allow user to configure the exact size (#10425)
3 years ago
ian woolf 025528a5d6
cmd: use os.MkdirTemp instead of ioutil.TempDir (#10320)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
SuperQ b297520666
Add agent mode identifier
3 years ago
Tobias Klausmann b998636893
Improve error logging for missing config and QL dir (#10260)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
Rodrigo Queiro 70c1446a64
Clarify units of --storage.tsdb.retention.size (#10154)
3 years ago
beorn7 b39f2739e5 PromQL: Always enable negative offset and @ modifier
3 years ago
beorn7 61509fc840 PromQL: Promote negative offset and @ modifer to stable
3 years ago
Björn Rabenstein 0f4a1e6eac
Merge pull request #10119 from prometheus/beorn7/remote
3 years ago
chenlujjj 2ce94ac196
Add '--weight' flag to 'promtool check metrics' command (#10045)
3 years ago
beorn7 8fdfa52976 API: Promote remote-write-receiver to stable
3 years ago
David Leadbeater a961062c37
Disable time based retention in tests (#8818)
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
beorn7 64c7bd2b08 Merge branch 'main' into sparsehistogram
3 years ago
jessicagreben 59f7ef06d0 update exit code for sd
3 years ago
Nicholas Blott c92673fb14
Remove check against cfg so interval/ timeout are always set (#10023)
3 years ago
beorn7 6f33ab2b35 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto db1551bd21
Merge pull request #10016 from prometheus/release-2.32
3 years ago
Ben Ye d9bbe7f3dd
mention agent mode in enable-feature flag help description (#9939)
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
beorn7 e8e9155a11 Merge branch 'main' into sparsehistogram
3 years ago
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