Prerequisites
Add the TechInsightsHubFactCollector to Soundcheck
First, add the@spotify/backstage-plugin-soundcheck-backend-module-techinsights package:
packages/backend/src/index.ts file:
packages/backend/src/index.ts
Rate Limiting (Optional)
This fact collector can be rate limited in Soundcheck using the following configuration:Using TechInsight facts in Soundcheck
Soundcheck fact references for this plugin follow the formattechinsights:default/<id> where <id>
is the fact retriever identifier from Tech Insights.
For example, if there is a Tech Insights fact retriever with an ID of entityOwnershipFactRetriever, its Soundcheck fact reference would be
techinsights:default/entityOwnershipFactRetriever.
Soundcheck fact references enable facts from Tech Insights to be used in Soundcheck check. Here is an example of a Soundcheck check that makes use of a fact from Tech Insights.
entityOwnershipFactRetriever from Tech Insights and perform the specified check logic on it.
Currently, the collection of facts from Tech Insights is not scheduled or cached. Tech Insights facts are only
collected on demand, when a check using a Tech Insights fact is executed (which can be scheduled).