From eaefe44666dff9052666ce4978af867b694d1aa0 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 19 Dec 2024 09:24:42 +0530 Subject: [PATCH] fix: update scraper_id in ec2 k8s node external lookup --- scrapers/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/aws/aws.go b/scrapers/aws/aws.go index 7c4085e9..97361d16 100644 --- a/scrapers/aws/aws.go +++ b/scrapers/aws/aws.go @@ -1140,7 +1140,7 @@ func (aws Scraper) instances(ctx *AWSContext, config v1.AWS, results *v1.ScrapeR relationships = append(relationships, v1.RelationshipResult{ ConfigExternalID: selfExternalID, - RelatedExternalID: v1.ExternalID{ExternalID: "Kubernetes/Node//" + *i.PrivateDnsName, ConfigType: "Kubernetes::Node"}, + RelatedExternalID: v1.ExternalID{ExternalID: "Kubernetes/Node//" + *i.PrivateDnsName, ConfigType: "Kubernetes::Node", ScraperID: "all"}, Relationship: "InstanceKuberenetesNode", })