Skip to content

Commit

Permalink
APM-APPLICATION-to-INFRA-REDSHIFT-CLUSTER (#1828)
Browse files Browse the repository at this point in the history
* feat: Added kiness delivery stream

* feat: Added relationship condition

* fix: Added apm kinesis relation file

* fix:Removed apm relation file

* fix: Add new condition

* fix: Added quotes in array

* fix: Updated the tagkeys

* fix: Add apm redshift cluster realtion

* fix: Updated the regex

* fix: Updated span attribute name

---------

Co-authored-by: Otávio Carvalho <[email protected]>
  • Loading branch information
vinaykonatala and otaviocarvalho authored Jan 16, 2025
1 parent 1ce56fe commit 220a3e0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 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
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 220a3e0

Please sign in to comment.