From 8f3bc77b05590971d96481f533fffb304ed864c4 Mon Sep 17 00:00:00 2001 From: Vinay Kumar Konatala Date: Tue, 26 Nov 2024 17:37:05 +0530 Subject: [PATCH] fix: Updated attribute names --- .../synthesis/APM-APPLICATION-to-INFRA-AWSAPPSYNCAPI.yml | 2 +- relationships/synthesis/EXT-SERVICE-to-INFRA-AWSAPPSYNCAPI.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSAPPSYNCAPI.yml b/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSAPPSYNCAPI.yml index 7a2bb7dfe..4f4b780fe 100644 --- a/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSAPPSYNCAPI.yml +++ b/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSAPPSYNCAPI.yml @@ -6,7 +6,7 @@ relationships: conditions: - attribute: eventType anyOf: [ "Span" ] - - attribute: Peer.Hostname + - attribute: peer.hostname regex: '[a-z]+\d*[a-z]*\.appsync-api\.[a-z]{2}-[a-z]+-\d+\.amazonaws\.com' relationship: expires: P75M diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSAPPSYNCAPI.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSAPPSYNCAPI.yml index 176fef353..6b11d8418 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSAPPSYNCAPI.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSAPPSYNCAPI.yml @@ -8,7 +8,7 @@ relationships: anyOf: [ "Span" ] - attribute: instrumentation.provider anyOf: [ "opentelemetry" ] - - attribute: Net.peer.name + - attribute: net.peer.name regex: '[a-z]+\d*[a-z]*\.appsync-api\.[a-z]{2}-[a-z]+-\d+\.amazonaws\.com' relationship: expires: P75M