VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 02ceebccc0
lib/promscrape: do not re-use previously loaded scrape targets on failed attempt to load updated scrape targets at file_sd_configs
The logic employed for re-using the previously loaded scrape target was broken initially.
The commit cc0427897c tried to fix it, but the new logic
became too complex and fragile. So it is better to just remove this logic,
since the targets from temporarily broken file should be eventually loaded on next
attempts every -promscrape.fileSDCheckInterval

This also allows removing fragile hacks around __vm_filepath label.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3989
2023-04-02 21:11:12 -07:00
..
discovery .golangci.yml: properly enable revive linter and fix all the warnings it detects 2023-02-26 12:19:58 -08:00
discoveryutils lib/promscrape: follow-up for 43e104a83f 2023-02-24 12:25:36 -08:00
testdata
client.go fix some typo (#3898) 2023-03-08 00:32:57 -08:00
config_test.go lib/promscrape: do not re-use previously loaded scrape targets on failed attempt to load updated scrape targets at file_sd_configs 2023-04-02 21:11:12 -07:00
config_timing_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
config.go lib/promscrape: do not re-use previously loaded scrape targets on failed attempt to load updated scrape targets at file_sd_configs 2023-04-02 21:11:12 -07:00
relabel_debug.go lib/promrelabel: pass query args via query string at /metric-relabel-debug and /target-relabel-debug pages if their length doesnt exceed 1000 2023-01-05 16:45:42 -08:00
scraper.go lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:54:10 -07:00
scrapework_test.go lib/promscrape: fix honor_labels behavior (#3739) 2023-02-01 12:02:04 -08:00
scrapework_timing_test.go lib/promscrape: add exported_ prefix to metric names exported by scrape targets if they clash with automatically generated metrics 2022-11-28 18:37:34 -08:00
scrapework.go lib/protoparser/prometheus: move streamparser to subpackage (#3814) 2023-02-13 09:44:47 -08:00
statconn.go
targetstatus.go lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:28:14 -08:00
targetstatus.qtpl lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:28:14 -08:00
targetstatus.qtpl.go lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:28:14 -08:00