Remove debug print statements
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user