640 Commits (291ab4d0bc6ea9f0e61073f303bd3982e9727b8d)

Author SHA1 Message Date
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
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
jessicagreben 4b03fa3100 replace config exit code with failure exit code 3 years ago
jessicagreben 59f7ef06d0 update exit code for sd 3 years ago
Julien Pivotto 67a64ee092
Remove check against cfg so interval/ timeout are always set (#10023) (#10031) 3 years ago
Nicholas Blott c92673fb14
Remove check against cfg so interval/ timeout are always set (#10023) 3 years ago
Ganesh Vernekar 087e3c7360
Fix queries after a failed snapshot replay (#9980) (#9986) 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
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 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
jessicagreben 60d0990886 add more explicit label values 3 years ago