Products | Versions |
---|---|
TIBCO ActiveSpaces | 4.x |
To change the retention policy, connect to the database using the influxDB utility located in the FTL server directory "$FTL_HOME/monitoring"
e.g., Store metrics for last week (1w):
export FTL_HOME=/opt/tibco/ftl/6.8 cd $FTL_HOME/monitoring ./influx use tibco Alter RETENTION POLICY autogen ON tibco DURATION 1w SHARD DURATION 1w REPLICATION 1;
show shards name: tibco id database retention_policy shard_group start_time end_time expiry_time owners -- -------- ---------------- ----------- ---------- -------- ----------- ------ 6 tibco autogen 6 2023-04-06T17:00:00Z 2023-04-06T18:00:00Z 2023-04-06T19:00:00Z 7 tibco autogen 7 2023-04-06T18:00:00Z 2023-04-06T19:00:00Z 2023-04-06T20:00:00Z 8 tibco autogen 8 2023-04-14T08:00:00Z 2023-04-14T09:00:00Z 2023-04-14T10:00:00Z