diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/ec2_test.go b/processor/resourcedetectionprocessor/internal/aws/ec2/ec2_test.go index 2597ffb5d1ef..892135ddd0cf 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/ec2_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/ec2_test.go @@ -136,7 +136,7 @@ func TestDetector_Detect(t *testing.T) { attr.InsertString("cloud.account.id", "account1234") attr.InsertString("cloud.provider", "aws") attr.InsertString("cloud.infrastructure_service", "EC2") - attr.InsertString("cloud.namespace", "ec2") + attr.InsertString("cloud.namespace", "aws/ec2") attr.InsertString("cloud.region", "us-west-2") attr.InsertString("cloud.zone", "us-west-2a") attr.InsertString("host.id", "i-abcd1234")