Hello, I’ve been successfully running a kapacitor task on a certain database with retention policy autogen
. That said, when I changed the default retention policy, the updated tick script is not processing any data.
This is the tick script before the change:
var downsample_period = 5m
var table = 'some_metric'
var data = stream
|from()
.database('some_database')
.retentionPolicy('autogen')
.measurement(table)
|window()
.period(downsample_period)
.every(downsample_period)
|sample(downsample_period)
data
|httpOut('test')
After the change
var downsample_period = 5m
var table = 'some_metric'
var data = stream
|from()
.database('some_database')
.retentionPolicy('new_rp')
.measurement(table)
|window()
.period(downsample_period)
.every(downsample_period)
|sample(downsample_period)
data
|httpOut('test')
- I’ve checked that the new retention policy is getting data on InfluxDB
-
kapacitor stat ingress
does not show an entry for the new retention policy - influx
show subscriptions
does show a subscription for the new RP
Any help would be appreciated.