如何调试为什么数据在Kapacitor的加入节点中消失?

时间:2018-07-20 15:26:07

标签: influxdb kapacitor

我正在尝试使用Kapacitor按标签显示收到的请求百分比。这是我的TICKScript的片段:

input type='textarea'

但是任务的DOT图显示了以下内容:

@JsonValue

总和节点处理一些数据,加入节点-没有数据。

Event

给我

var totalByPlatform = metrics
    |groupBy('Platform')
    |sum('Received')
        .as('Received')
    |httpOut('totalByPlatform')

var totalByAffiliate = metrics
    |sum('Received')
        .as('Received')
    |httpOut('totalByAffiliate')

totalByPlatform
    |join(totalByAffiliate)
        .as('total', 'affiliates')
        .on('Platform')
        .streamName('affiliate_percent')
    |httpOut('joinedData')

sum7 [avg_exec_time_ns="4.224µs" errors="0" working_cardinality="15" ]; sum7 -> http_out8 [processed="1515"]; sum5 [avg_exec_time_ns="2.901µs" errors="0" working_cardinality="3" ]; sum5 -> http_out6 [processed="300"]; join10 [avg_exec_time_ns="8.886µs" errors="0" working_cardinality="18" ]; join10 -> http_out11 [processed="0"]; 此:

curl http://localhost:9092/kapacitor/v1/tasks/totaler/joinedData

{"series":null} 这个:

totalByPlatform

此外,我尝试将连接公差设置为1m(大于窗口),在连接节点中仍处理0个数据点。

如何调试为什么会发生这种情况,并找出需要解决的问题?

0 个答案:

没有答案