|
@@ -97,6 +97,7 @@ func (n *LookupNode) Exec(ctx api.StreamContext, errCh chan<- error) {
|
|
|
return
|
|
|
}
|
|
|
n.statManager = stats
|
|
|
+ n.statManagers = []metric.StatManager{stats}
|
|
|
go func() {
|
|
|
err := infra.SafeRun(func() error {
|
|
|
ns, err := lookup.Attach(n.name)
|
|
@@ -247,16 +248,6 @@ func (n *LookupNode) lookup(ctx api.StreamContext, d xsql.TupleRow, fv *xsql.Fun
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-func (n *LookupNode) GetMetrics() [][]interface{} {
|
|
|
- if n.statManager != nil {
|
|
|
- return [][]interface{}{
|
|
|
- n.statManager.GetMetrics(),
|
|
|
- }
|
|
|
- } else {
|
|
|
- return nil
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
func (n *LookupNode) merge(ctx api.StreamContext, d xsql.TupleRow, r []map[string]interface{}) {
|
|
|
n.statManager.ProcessTimeStart()
|
|
|
sets := &xsql.JoinTuples{Content: make([]*xsql.JoinTuple, 0)}
|