velodrome/transform/plugins/bundle.go
func (b BundledStates) ages(t time.Time) map[string]time.Duration {
	ages := map[string]time.Duration{}

	for id, state := range b.states {
		if !state.Active() {
			continue
		}
		ages[id] = state.Age(t)
	}
	return ages
}
func (b BundledStates) ages(t time.Time) map[string]time.Duration {
	ages := map[string]time.Duration{}

	for id, state := range b.states {
		if !state.Active() {
			continue
		}
		ages[id] = state.Age(t)
	}
	return ages
}
// ages return the age of each active states