-
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.
Create Relationship with APM and Lambda Function and Lambda Function …
…Alias (#1715) * Create Relationship with APM and Lambda Function and Lambda Function Alias * remove lambda function alias from synthesis definition file --------- Co-authored-by: sravyaparsi <[email protected]> Co-authored-by: nr-sparsi <[email protected]>
- Loading branch information
1 parent
c9e9d8a
commit 50884a1
Showing
2 changed files
with
26 additions
and
6 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
22 changes: 22 additions & 0 deletions
22
relationships/synthesis/APM-APPLICATION-to-INFRA-LAMBDAFUNCTION.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: apmCallsLambdafunction | ||
version: "1" | ||
origins: | ||
- Distributed Tracing | ||
conditions: | ||
- attribute: eventType | ||
anyOf: [ "Span" ] | ||
- attribute: cloud.platform | ||
anyOf: [ "aws_lambda"] | ||
relationship: | ||
expires: P75M | ||
relationshipType: CALLS | ||
source: | ||
extractGuid: | ||
attribute: entity.guid | ||
target: | ||
lookupGuid: | ||
candidateCategory: AWSLAMBDAFUNCTION | ||
fields: | ||
- field: awsLambdaArn | ||
attribute: cloud.resource_id |