Calculate start and end times at scrape time
Previously the start and end times have been set at the exporter start during the config parsing. This does not work properly if the exporter is a long running process like as it usually is. Also uses time.Duration
as the for start/end to avoid unnecessary type conversions.