prometheus/scrape
avilevy 0f38319b92
feat(discovery,scrape): rename startup wait options and add DiscoveryReloadOnStartup
- discovery: Rename `SkipInitialWait` to `SkipStartupWait` for clarity.
- discovery: Pass `context.Context` to `flushUpdates` to handle cancellation and avoid leaks.
- scrape: Add `DiscoveryReloadOnStartup` to `Options` to decouple startup discovery from `ScrapeOnShutdown`.
- tests: Refactor `TestTargetSetTargetGroupsPresentOnStartup` and `TestManagerReloader` to use table-driven tests and `synctest` for better stability and coverage.

Signed-off-by: avilevy <avilevy@google.com>
2026-03-25 22:00:51 +00:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
helpers_test.go scrape: Add TestManagerReloader and refactor discovery triggerSync 2026-03-25 19:18:22 +00:00
manager.go feat(discovery,scrape): rename startup wait options and add DiscoveryReloadOnStartup 2026-03-25 22:00:51 +00:00
manager_test.go feat(discovery,scrape): rename startup wait options and add DiscoveryReloadOnStartup 2026-03-25 22:00:51 +00:00
metrics.go Add scrape commit and total duration metrics (#17665) 2026-01-13 14:07:27 -03:00
scrape.go Merge pull request #18314 from ridwanmsharif/scrape/fix-jitter 2026-03-20 09:52:32 +01:00
scrape_append_v2.go feat[scrape]: add ST parsing support to scrape AppenderV2 flow (#18103) 2026-02-18 10:15:14 +01:00
scrape_test.go Merge pull request #18314 from ridwanmsharif/scrape/fix-jitter 2026-03-20 09:52:32 +01:00
target.go Merge pull request #17867 from prometheus/bwplotka/a2-scrape-1 2026-01-21 08:21:56 +00:00
target_test.go Merge pull request #17867 from prometheus/bwplotka/a2-scrape-1 2026-01-21 08:21:56 +00:00