Skip to content

Commit

Permalink
Merge branch 'newrelic:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
dsankaraganti authored Jan 17, 2025
2 parents 9d9ac26 + 01d9d0b commit c05afe4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
4 changes: 2 additions & 2 deletions relationships/candidates/AWSREDSHIFTCLUSTER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ lookups:
tags:
matchingMode: ALL
predicates:
- tagKeys: ["configuration.endpoint.address"]
field: cloudEndpointAddress
- tagKeys: ["server.address"]
field: serverAddress
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
Expand Down
2 changes: 1 addition & 1 deletion relationships/candidates/KUBERNETESCLUSTER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ lookups:
tags:
matchingMode: FIRST
predicates:
- tagKeys: [ "displayName" ]
- tagKeys: [ "displayname" ]
field: cluster.name
- tagKeys: [ "k8s.cluster.name" ]
field: cluster.name
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
relationships:
- name: apmApplicationCallsInfraRedshiftCluster
version: "1"
origins:
- Distributed Tracing
conditions:
- attribute: eventType
anyOf: [ "Span" ]
- attribute: server.address
regex: '^[a-zA-Z0-9\-]+\.[a-z0-9]+\.[a-zA-Z0-9\-]+\.redshift\.amazonaws\.com$'
relationship:
expires: P75M
relationshipType: CALLS
source:
extractGuid:
attribute: entity.guid
target:
lookupGuid:
candidateCategory: AWSREDSHIFTCLUSTER
fields:
- field: serverAddress
attribute: server.address
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ relationships:
lookupGuid:
candidateCategory: AWSREDSHIFTCLUSTER
fields:
- field: cloudEndpointAddress
attribute: configuration.endpoint.address
- field: serverAddress
attribute: server.address

0 comments on commit c05afe4

Please sign in to comment.