Version/Environment (if relevant):
This applies to all versions of Domino.
You run into the “Error getting data” error when trying to view metrics in the Control Center under Compute & Spend. The data fails to load and you cannot generate reports.
This performance issue is due to timeouts caused by large amounts of historical data being pulled into the UI. Because the Control Center is on the roadmap to be redesigned, there are currently no further fixes planned for this error.
Admins can decrease this setting in the Central Configuration: com.cerebro.domino.controlCenter.cacheMaxLoadPeriodInMonths.
The default is 12 months. Decreasing this will limit the data and should improve performance. You must restart services for the change to apply.
After decreasing this setting, you can still choose the same time periods, e.g. Current Month, Previous Month, Last 3 months, Last 6 months, and Custom. However, the data will only be available for the number of months that you set.
For example, if it's October today and you set this to 3 months, then only the last 3 months of data from July to October will be available. If you select dates outside of the setting, e.g. January to March, then that data will not be available.
If you select a time period that's greater than the setting, then you'll be presented with an error. For example, if the setting is for 3 months and then you selected 6 months for the time period, you’ll be presented with a Timeframe over three months not supported error message.
As an alternative, you could export the Control Center data via API and pull whatever duration you need. The API endpoints related to the Control Center can be accessed from:
However, please note the Control Center data does not fully reflect compute spend due to these limitations:
- It's based on values manually entered when creating and managing hardware tiers
- The compute spend data is only available in the Control Center if the Cents per minute field is set for the hardware tier in use
- The data only represents active usage, and not idle cloud resources or storage
Therefore, for the most accurate values on your cloud spend, we recommend pulling the costs directly from your cloud provider.
Please sign in to leave a comment.