Advanced forecast configuration

The default forecasting options are configurable by adding a [forecasting] section to the opscenterd.conf file to propagate to all clusters, or adjusting the defaults per cluster in cluster_name.conf.


  1. Locate the opscenterd.conf file. The location of this file depends on the type of installation:

    • Package installations: /etc/opscenter/opscenterd.conf

    • Tarball installations: install_location/conf/opscenterd.conf

  2. To propagate the configuration to all clusters, open opscenterd.conf for editing.

  3. Add a [forecasting] section with the following available configuration options:

    • [forecasting] range_multiplier

      The multiplier for the query range needed to produce forecasts. The default multiplier is 3.

    • [forecasting] required_data_percentage

      Minimum percent of past data required to forecast. The default value is 0.5.

      To generate a meaningful prediction, historical data is analyzed for a longer period than the range being forecasted. The default range multiplier is three times larger than the range being forecasted. For example, to forecast one month into the future, three months of data is analyzed.

      The following example decreases the default range multiplier for the forecast timeframe, and decreases the required percentage amount of historical data, which might be necessary for a newer cluster to forecast a trend. If there is not enough data when forecasting, an error indicates less than 50 percent of the required past data was available. After a cluster has more historical data to work with, increasing the forecasting configuration values can increase the accuracy of forecasted trends.

      range_multiplier = 3
      required_data_percentage = 0.25
  4. To adjust the defaults per cluster, open cluster_name.conf for editing and adjust the forecasting options as appropriate per cluster.

  5. Save the configuration file or files.

  6. Restart the OpsCenter daemon.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,