scrape/target.go
func (t *Target) LastScrapeDuration() time.Duration {
	t.mtx.RLock()
	defer t.mtx.RUnlock()

	return t.lastScrapeDuration
}
func (t *Target) LastScrapeDuration() time.Duration {
	t.mtx.RLock()
	defer t.mtx.RUnlock()

	return t.lastScrapeDuration
}
func ( t * Target ) LastScrapeDuration ( ) time . Duration { t . mtx . RLock ( ) defer t . mtx . RUnlock ( ) return t . lastScrapeDuration }
// LastScrapeDuration returns how long the last scrape of the target took.
LastScrapeDuration returns how long the last scrape of the target took .