diff --git a/db/update.go b/db/update.go index 3b726610..37d4f635 100644 --- a/db/update.go +++ b/db/update.go @@ -568,6 +568,7 @@ func saveResults(ctx api.ScrapeContext, results []v1.ScrapeResult) (v1.ScrapeSum } for _, config := range extractResult.newConfigs { summary.AddInserted(config.Type) + ctx.TempCache().Insert(*config) } // nonUpdatedConfigs are existing configs that were not updated in this scrape.