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: Update Missing AWS Elasticsearch Cluster Handling #1817

Merged
merged 9 commits into from
Dec 11, 2024
12 changes: 5 additions & 7 deletions relationships/candidates/AWSELASTICSEARCHCLUSTER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ lookups:
tags:
matchingMode: ALL
predicates:
- tagKeys: ["aws.accountId"]
field: awsAccountId
- tagKeys: ["aws.region"]
field: awsRegion
- tagKeys: ["displayName"]
field: awsElasticsearchDomainName
- tagKeys: ["aws.es.DomainEndpoint"]
field: endpoint
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: AWSELASTICSEARCHCLUSTER
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
relationships:
- name: apmServiceCallsElasticsearch
version: "1"
origins:
- Distributed Tracing
conditions:
- attribute: eventType
anyOf: [ "Span" ]
- attribute: server.address
regex: ^search-[a-zA-Z0-9-]+-[a-zA-Z0-9]+\.([a-zA-Z0-9-]+)\.es\.amazonaws\.com$
relationship:
expires: P75M
relationshipType: CALLS
source:
extractGuid:
attribute: entity.guid
target:
lookupGuid:
candidateCategory: AWSELASTICSEARCHCLUSTER
fields:
- field: endpoint
attribute: server.address
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
relationships:
- name: extServiceCallsElasticsearch
version: "1"
origins:
- Distributed Tracing
conditions:
- attribute: eventType
anyOf: [ "Span" ]
- attribute: db.system
anyOf: [ "elasticsearch" ]
relationship:
expires: P75M
relationshipType: CALLS
source:
extractGuid:
attribute: entity.guid
target:
lookupGuid:
candidateCategory: AWSELASTICSEARCHCLUSTER
fields:
- field: endpoint
attribute: server.address
Loading