diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSLAMBDAALIAS.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSLAMBDAALIAS.yml index 4d1aa6f64..5846329a4 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSLAMBDAALIAS.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-AWSLAMBDAALIAS.yml @@ -3,11 +3,18 @@ relationships: version: "1" origins: - Distributed Tracing + - OpenTelemetry conditions: - attribute: eventType anyOf: [ "Span"] + - attribute: newrelic.source + anyOf: [ "api.traces.otlp" ] + - attribute: entity.type + anyOf: [ "SERVICE" ] - attribute: rpc.service anyOf: [ "Lambda" ] + - attribute: cloud.resource_id + regex: "^arn:aws:lambda:([^:]*):([^:]*):function:([^:]*):([^/]*)$" relationship: expires: P75M relationshipType: CALLS diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-DYNAMODBTABLE.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-DYNAMODBTABLE.yml index e469f3fdd..b25419725 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-DYNAMODBTABLE.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-DYNAMODBTABLE.yml @@ -3,9 +3,16 @@ relationships: version: "1" origins: - Distributed Tracing + - OpenTelemetry conditions: - attribute: eventType anyOf: [ "Span" ] + - attribute: newrelic.source + anyOf: [ "api.traces.otlp" ] + - attribute: entity.type + anyOf: [ "SERVICE" ] + - attribute: cloud.resource_id + regex: "^arn:aws:dynamodb:([^:]*):([^:]*):table/([^/]*)$" - attribute: rpc.service anyOf: [ "DynamoDB" ] relationship: diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISDELIVERYSTREAM.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISDELIVERYSTREAM.yml index 8bbfae7c2..c7c458ddf 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISDELIVERYSTREAM.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISDELIVERYSTREAM.yml @@ -3,13 +3,18 @@ relationships: version: "1" origins: - Distributed Tracing + - OpenTelemetry conditions: - attribute: eventType anyOf: [ "Span" ] - - attribute: instrumentation.provider - anyOf: [ "opentelemetry" ] + - attribute: newrelic.source + anyOf: [ "api.traces.otlp" ] + - attribute: entity.type + anyOf: [ "SERVICE" ] - attribute: rpc.service anyOf: [ "Firehose" ] + - attribute: cloud.resource_id + regex: "^arn:aws:firehose:([^:]*):([^:]*):deliverystream/([^:]*)" relationship: expires: P75M relationshipType: CALLS diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISSTREAM.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISSTREAM.yml index 2cb74e9c2..4262b6d21 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISSTREAM.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-KINESISSTREAM.yml @@ -3,13 +3,18 @@ relationships: version: "1" origins: - Distributed Tracing + - OpenTelemetry conditions: - attribute: eventType anyOf: [ "Span" ] - - attribute: instrumentation.provider - anyOf: [ "opentelemetry" ] + - attribute: newrelic.source + anyOf: [ "api.traces.otlp" ] + - attribute: entity.type + anyOf: [ "SERVICE" ] - attribute: rpc.service anyOf: [ "kinesis" ] + - attribute: cloud.resource_id + regex: "^arn:aws:kinesis:([^:]*):([^:]*):stream/([^:]*)" relationship: expires: P75M relationshipType: CALLS diff --git a/relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml b/relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml index 9c8be9d18..6208fcd73 100644 --- a/relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml +++ b/relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml @@ -3,13 +3,18 @@ relationships: version: "1" origins: - Distributed Tracing + - OpenTelemetry conditions: - attribute: eventType anyOf: [ "Span" ] - - attribute: instrumentation.provider - anyOf: [ "opentelemetry" ] + - attribute: newrelic.source + anyOf: [ "api.traces.otlp" ] + - attribute: entity.type + anyOf: [ "SERVICE" ] - attribute: rpc.service anyOf: [ "Redshift" ] + - attribute: server.address + regex: '^[a-zA-Z0-9\-]+\.[a-z0-9]+\.[a-zA-Z0-9\-]+\.redshift\.amazonaws\.com$' relationship: expires: P75M relationshipType: CALLS