Skip to content

Commit

Permalink
feat: Added rules for elasticsearch and lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindKumar8520 committed Feb 10, 2025
1 parent f74b579 commit c3ef6de
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ relationships:
anyOf: [ "Span" ]
- attribute: db.system
anyOf: [ "elasticsearch" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
relationship:
expires: P75M
relationshipType: CALLS
Expand All @@ -19,4 +21,4 @@ relationships:
candidateCategory: AWSELASTICSEARCHCLUSTER
fields:
- field: endpoint
attribute: server.address
attribute: server.address
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ relationships:
anyOf: [ "Span"]
- attribute: rpc.service
anyOf: [ "Lambda" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
- attribute: cloud.resource_id
regex: "^arn:aws:lambda:([^:]*):([0-9]*):function:([^:]*)$"
relationship:
expires: P75M
relationshipType: CALLS
Expand Down
4 changes: 4 additions & 0 deletions relationships/synthesis/EXT-SERVICE-to-INFRA-AWSSQSQUEUE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ relationships:
anyOf: [ "Span" ]
- attribute: rpc.service
anyOf: [ "SQS" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
- attribute: aws.region
present: true
- attribute: aws.account.id
Expand Down Expand Up @@ -40,6 +42,8 @@ relationships:
anyOf: [ "Span" ]
- attribute: messaging.system
anyOf: [ "aws_sqs" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
- attribute: cloud.region
present: true
- attribute: cloud.account.id
Expand Down
4 changes: 4 additions & 0 deletions relationships/synthesis/EXT-SERVICE-to-REDIS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ relationships:
anyOf: [ "Span" ]
- attribute: db.system
anyOf: [ "redis" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
- attribute: net.peer.name
present: true
- attribute: net.peer.name
Expand Down Expand Up @@ -38,6 +40,8 @@ relationships:
anyOf: [ "Span" ]
- attribute: db.system
anyOf: [ "redis" ]
- attribute: instrumentation.provider
anyOf: [ "opentelemetry" ]
- attribute: net.peer.name
present: true
- attribute: net.peer.name
Expand Down

0 comments on commit c3ef6de

Please sign in to comment.