On Thursday, November 24, 2016 at 2:19:00 AM UTC+5:30, [email protected] 
wrote:
> i have a kapacitor instance running on localhost. kapacitor stats ingress 
> shows incoming datapoint for the db specified while creating tasks but the 
> recording just hangs there even though i started it for 20s. can someone help 
> me?

he alert4 task was defined as 

kapacitor define "alert4" -type stream -tick alert2.tick -dbrp 
temperature_db.default 

//alert2.tick 
stream 
|from().measurement('temperature') 
    |alert() 
        .crit(lambda: "value" > 30) 
.log('/var/log/alerts.log') 

Now, when the recording starts, following is the output for kapacitor stats 
ingress 

kapacitor stats ingress 
Database       Retention Policy Measurement    Points Received 
_internal      monitor          cq                          20 
_internal      monitor          database                    40 
_internal      monitor          httpd                       20 
_internal      monitor          queryExecutor               20 
_internal      monitor          runtime                     20 
_internal      monitor          shard                       60 
_internal      monitor          subscriber                  80 
_internal      monitor          tsm1_cache                  60 
_internal      monitor          tsm1_engine                 60 
_internal      monitor          tsm1_filestore              60 
_internal      monitor          tsm1_wal                    60 
_internal      monitor          write                       20 
_kapacitor     autogen          edges                       22 
_kapacitor     autogen          ingress                    157 
_kapacitor     autogen          kapacitor                   10 
_kapacitor     autogen          runtime                     10 
temperature_db default_rp       temperature                  5 


The last row indicating 5 points collected for measurement temperature, and 
when I go ahead and add more measurements via Influx shell, this count also 
increases. 

Sample insert statement 
INSERT temperature,Station=S1 value=50.9

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/e93d37a2-64d7-495f-8601-32a43d8dd052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to