Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding candidate and relationship btw apm and kinesis delivery stream #1783

Merged
merged 13 commits into from
Dec 9, 2024
Merged
16 changes: 16 additions & 0 deletions relationships/candidates/AWSKINESISDELIVERYSTREAM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
category: AWSKINESISDELIVERYSTREAM
lookups:
- entityTypes:
- domain: INFRA
type: AWSKINESISDELIVERYSTREAM
tags:
matchingMode: ALL
predicates:
- tagKeys: ["aws.arn"]
field: cloudResourceId
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: AWSKINESISDELIVERYSTREAM
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
relationships:
- name: apmCallsInfraKinesisDeliveryStream
version: "1"
origins:
- Distributed Tracing
conditions:
- attribute: eventType
anyOf: [ "Span" ]
- attribute: cloud.platform
anyOf: [ "aws_kinesis_delivery_streams" ]
- attribute: cloud.resource_id
regex: "^arn:aws:firehose:([^:]*):([^:]*):deliverystream\/([^:]*)"
relationship:
expires: P75M
relationshipType: CALLS
source:
extractGuid:
attribute: entity.guid
target:
lookupGuid:
candidateCategory: AWSKINESISDELIVERYSTREAM
fields:
- field: cloudResourceId
attribute: cloud.resource_id
Loading