From 49cf9290af7043802b29dcd47992ad9a026c0b05 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Fri, 1 Nov 2024 19:24:40 +0530 Subject: [PATCH] fix: undo skip in change extraction --- scrapers/processors/json.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scrapers/processors/json.go b/scrapers/processors/json.go index 908bfebb..93fa9172 100644 --- a/scrapers/processors/json.go +++ b/scrapers/processors/json.go @@ -330,11 +330,6 @@ func (e Extract) Extract(ctx api.ScrapeContext, inputs ...v1.ScrapeResult) ([]v1 logScrapes := ctx.PropertyOn(true, "log.items") for _, input := range inputs { - // Do not extract anything from change results - if len(input.Changes) > 0 { - continue - } - for k, v := range input.BaseScraper.Labels { if input.Labels == nil { input.Labels = map[string]string{}