Changing the Peformance Data Retention Time
- Log in to the Control Center master host as a user with sudo and docker privileges.
Stop the opentsdb writer service.
serviced service stop opentsdb/writer
Execute the following command to list all the services and their SERVICEID values. Take
note of the SERVICEID for the opentsdb reader service. It will be used as an argument in
the following step.
serviced service list
Execute the following command where $id is the opentsdb reader
SERVICEID and $ttl is your desired TTL value, in seconds.
serviced service shell $id /opt/opentsdb/set-opentsdb-table-ttl.sh $ttl
Start the opentsdb writer service.
serviced service start opentsdb/writer