Commit Graph

4871 Commits (406233e937e00b0847b13316274be908a65c211a)
 

Author SHA1 Message Date
Julius Volz 192e665317 rulefmt: Allow parsing from bytes instead of file
7 years ago
Julius Volz 953af2c089
promql: Make printer formatting less vintage (#3721)
7 years ago
Julius Volz 1e943fc10a
promql: Fix printing of empty without() (#3719)
7 years ago
Krasi Georgiev 66bcb10f40 t.Fatal should be t.Fatalf in the one scrape test
7 years ago
Goutham Veeramachaneni 85f23d82a0
Merge pull request #3700 from Gouthamve/release-2.1
7 years ago
Krasi Georgiev d202718116 read bearer token on every request , + some http and scrape tests
7 years ago
Goutham Veeramachaneni 14eb15fe45 *: release 2.1.0
7 years ago
Goutham Veeramachaneni 4b984d2378
Merge pull request #3705 from Gouthamve/update_tsdb
7 years ago
Goutham Veeramachaneni d982427aa8 vendor: update tsdb
7 years ago
Goutham Veeramachaneni ab7c54e2c8
Merge pull request #3698 from krasi-georgiev/scrape-config-reload-fix
7 years ago
Krasi Georgiev 910c22418c move cleanup and reload in ApplyConfig
7 years ago
Krasi Georgiev 719c579f7b refactor main execution reloadReady handling, update some comments
7 years ago
Krasi Georgiev ec26751fd2 use mutexes for the discovery manager instead of a loop as this was a stupid idea
7 years ago
Krasi Georgiev 0eafaf32d3 set the correct config reloading execution for scraper and notifier
7 years ago
Alexey Palazhchenko 85bef0d583 Add comment about samples order. (#3642)
7 years ago
Tom Wilkie f2c5399e39
Merge pull request #3561 from twiedenbein/master
7 years ago
Krasi Georgiev 97f0461e29 refactor the config reloading execution
7 years ago
Krasi Georgiev af58c1b452 replace state machine with mutex
7 years ago
Goutham Veeramachaneni a3de70ed19
Merge pull request #3638 from krasi-georgiev/notifier-reimplement-discovery
7 years ago
Frederic Branczyk 5cea27f06a
Merge pull request #3655 from Conorbro/dropped-target-fix
7 years ago
Krasi Georgiev 87a8fc24d5 fix the test
7 years ago
Krasi Georgiev 5260c650ec use the config hash for the map lookup
7 years ago
Krasi Georgiev 8369826808 comment to rethink the map reference for the notifier discovery
7 years ago
Krasi Georgiev 2e058b1c6f reload test
7 years ago
Krasi Georgiev 767faa44b6 fixed the tests
7 years ago
Krasi Georgiev d12e6f29fc discovery manager ApplyConfig now takes a direct ServiceDiscoveryConfig so that it can be used for the notify manager
7 years ago
Goutham Veeramachaneni b20a1b1b1b
Merge pull request #3654 from krasi-georgiev/discovery-handle-discoverer-updates
7 years ago
Krasi Georgiev 790cf30fcb remove uneeded check
7 years ago
Krasi Georgiev 38938ba493 comment nits
7 years ago
Krasi Georgiev a535c8d1b4 simplify the pool cleanup
7 years ago
Krasi Georgiev a981b51900 The config map was never reset on applying a new config
7 years ago
Krasi Georgiev e4ddffcc6e run staticcheck in travis (#3682)
7 years ago
Krasi Georgiev 4be9a40b89 fatalf is not thread safe so using panic instead (#3680)
7 years ago
Krasi Georgiev febebcd49a more comments for the future ME, and reverted the Discovery manager execution changes as these were correct in the first place
7 years ago
Krasi Georgiev 78ba5e62a6 few mote usefull comments
7 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks
7 years ago
Krasi Georgiev abfd9f1920 nits
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago
Goutham Veeramachaneni 35a6ffbaf3
Merge pull request #3587 from krasi-georgiev/web-test-error-check
7 years ago
Krasi Georgiev 546c29af5b return early for nil target groups
7 years ago
Adam f64014f70b Fix the incrementing of prometheus_target_scrapes_exceeded_sample_limit_total (#3669)
7 years ago
Callum Styan 97464236c7 comments with TargetProvider should read Discoverer instead (#3667)
7 years ago
James Turnbull 00f4821178 Added missing ingress from role list (#3666)
7 years ago
conorbroderick 658914ba27 Fix dropped target list growing forever
7 years ago
Krasi Georgiev 77bf6bece0 discovery-manager comment update
7 years ago
Krasi Georgiev 135ea0f793 discovery manager - doesn't need sorting of the target groups so move it in the discovery manager tests as we only need it there.
7 years ago
Krasi Georgiev 638818a974 some Discoverers send nil targetgroup so need to check for it when updating a group
7 years ago
Krasi Georgiev 7e28397a2c discovery - handle Discoverers that send only target Group updates rather than all Targets on every update.
7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
James Turnbull 380cacd3a4 Readability edits to vector matching (#3624)
7 years ago