Use flag.Duration for scrape duration.