diff --git a/internal/scraper/scraper.go b/internal/scraper/scraper.go index 32bdcbde..aad653e2 100644 --- a/internal/scraper/scraper.go +++ b/internal/scraper/scraper.go @@ -398,7 +398,7 @@ func (s Scraper) collectData(ctx context.Context, t time.Time) (*probeData, erro {name: "config_version", value: s.check.ConfigVersion()}, {name: "instance", value: s.check.Target}, {name: "job", value: s.check.Job}, - {name: "source", value: CheckInfoSource}, // identify metrics that belong to synthetic-monitoring-agent + // {name: "source", value: CheckInfoSource}, // identify metrics that belong to synthetic-monitoring-agent } ts := s.extractTimeseries(t, mfs, metricLabels) diff --git a/internal/scraper/scraper_test.go b/internal/scraper/scraper_test.go index 664f795f..bac650e1 100644 --- a/internal/scraper/scraper_test.go +++ b/internal/scraper/scraper_test.go @@ -945,7 +945,7 @@ func TestScraperCollectData(t *testing.T) { "instance": checkTarget, "job": job, "probe": probeName, - "source": CheckInfoSource, + // "source": CheckInfoSource, } baseExpectedInfoLabels = map[string]string{ "check_name": checkName,