I expect that
|window()
.period(60s)
.everyCount(3)
would emit data every three points. But I get output on every incoming point.
What am I missing?
dbrp "snmp_trap"."default"
stream
|from()
.measurement('snmp_trap')
|where(lambda: "name" == 'netSnmpExampleHeartbeatNotification')
|window()
.period(1m)
.everyCount(3)
|alert()
.info(lambda: TRUE)
.log('/tmp/chronic.log')