Schedule metrics to avoid API limits
To balance data freshness with system performance and API rate limits, you can customize the collection frequency for Scorecard metrics. Scorecard uses the Backstage built-in scheduler service. The default refresh frequency is hourly, but you can adjust it for each metric.
Before you begin
- You have added a custom Developer Hub application configuration.
- You have identified the
datasourceIdandmetricNamefor the provider you want to configure.
Procedure
Results
- Review the backend logs to make sure the task is scheduled without errors.
- Verify that new metric data appears in the database according to the defined interval.