Skip to content

Commit

Permalink
feat: updated the relationship btw apm and redshift cluster and Otel …
Browse files Browse the repository at this point in the history
…and redshift cluster (#1798)

* 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: Added redshift cluster relation created

* fix: Removed APM relationship file from pr

---------

Co-authored-by: Otávio Carvalho <[email protected]>
Co-authored-by: nr-cmorenoin <[email protected]>
  • Loading branch information
3 people authored Dec 9, 2024
1 parent 3714cfe commit e0a8c8c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
16 changes: 16 additions & 0 deletions relationships/candidates/AWSREDSHIFTCLUSTER.yml
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
24 changes: 24 additions & 0 deletions relationships/synthesis/EXT-SERVICE-to-INFRA-REDSHIFTCLUSTER.yml
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

0 comments on commit e0a8c8c

Please sign in to comment.