Remove debug print statements
This commit is contained in:
parent
2e5165d416
commit
24391a8b5e
|
@ -405,14 +405,11 @@ func (a *Agent) runAggregators(
|
||||||
|
|
||||||
acc := NewAccumulator(agg, aggregations)
|
acc := NewAccumulator(agg, aggregations)
|
||||||
acc.SetPrecision(a.Precision())
|
acc.SetPrecision(a.Precision())
|
||||||
fmt.Println(1)
|
|
||||||
a.push(ctx, agg, acc)
|
a.push(ctx, agg, acc)
|
||||||
fmt.Println(2)
|
|
||||||
}(agg)
|
}(agg)
|
||||||
}
|
}
|
||||||
|
|
||||||
aggWg.Wait()
|
aggWg.Wait()
|
||||||
fmt.Println(3)
|
|
||||||
close(aggregations)
|
close(aggregations)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
@ -422,10 +419,8 @@ func (a *Agent) runAggregators(
|
||||||
dst <- metric
|
dst <- metric
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fmt.Println(4)
|
|
||||||
|
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
fmt.Println(5)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue