-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Added redshift cluster relation created
- Loading branch information
1 parent
a128745
commit cf0444b
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
category: AWSREDSHIFTCLUSTER | ||
lookups: | ||
- entityTypes: | ||
- domain: INFRA | ||
type: AWSREDSHIFTCLUSTER | ||
tags: | ||
matchingMode: ALL | ||
predicates: | ||
- tagKeys: ["configuration.endpoint.address"] | ||
field: cloudEndpointAddress | ||
onMatch: | ||
onMultipleMatches: RELATE_ALL | ||
onMiss: | ||
action: CREATE_UNINSTRUMENTED | ||
uninstrumented: | ||
type: AWSREDSHIFTCLUSTER |
22 changes: 22 additions & 0 deletions
22
relationships/synthesis/APM-APPLICATION-to-INFRA-REDSHIFTCLUSTER.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: configuration.endpoint.address | ||
regex: '^[a-zA-Z0-9\-]+\.c[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: cloudEndpointAddress | ||
attribute: configuration.endpoint.address |
24 changes: 24 additions & 0 deletions
24
relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
relationships: | ||
- name: extServiceCallsInfraRedshiftCluster | ||
version: "1" | ||
origins: | ||
- Distributed Tracing | ||
conditions: | ||
- attribute: eventType | ||
anyOf: [ "Span" ] | ||
- attribute: instrumentation.provider | ||
anyOf: [ "opentelemetry" ] | ||
- attribute: rpc.service | ||
anyOf: [ "Redshift" ] | ||
relationship: | ||
expires: P75M | ||
relationshipType: CALLS | ||
source: | ||
extractGuid: | ||
attribute: entity.guid | ||
target: | ||
lookupGuid: | ||
candidateCategory: AWSREDSHIFTCLUSTER | ||
fields: | ||
- field: cloudEndpointAddress | ||
attribute: configuration.endpoint.address |