influxdata / influxdata/influxdb
scraper: add scraper interval option
Open
area/api
team/ui
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
https://github.com/influxdata/influxdb/blob/a64c4fd138ef11336de84b4bd42bc0f49b7d8d1d/cmd/influxd/launcher/launcher.go#L587-L591
Currently, scraper scheduler interval hard code to `10*time.Second`, and all scrapers share the same interval.
Should each scraper has an interval option?
cc @russorat
Contributor guide
Research direction
Start with cmd/influxd/launcher/launcher.go at lines 587-591 and trace how the scraper scheduler is configured and shared by scrapers. Determine how an interval option could be represented per scraper, then verify that different scrapers can run on distinct schedules instead of one hard-coded interval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100