Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

vigneshmaheshssn_140152 avatar image
vigneshmaheshssn_140152 asked ·

How long does OpsCenter store metrics data by default?

how much time ops console store the data of the clusters . is there any configuration variable in the cluster.conf file to control that ?

opscenter
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Jeremy Artero avatar image
Jeremy Artero answered ·

Hello vigneshmaheshssn,

The default retention time for metrics is 7 days for 1 minute data points, 28 days for 5 minutes data points and 365 days for 2 hours data points. Check in the official documentation here :

https://docs.datastax.com/en/opscenter/6.7/opsc/configure/opscMetricsConfig_r_2.html

Yes it can be configured in cluster.conf under [cassandra_metrics]

[cassandra_metrics]
1min_ttl = 604800
5min_ttl = 2419200
2hr_ttl = 31536000
24hr_ttl = 0

What would you like to achieve with it?

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.