Skip to content

Commit

Permalink
Update regex for ARN in _Explicit relationships (#1948)
Browse files Browse the repository at this point in the history
* fix: Update regex for ARN in _Explicit relationships

* fix: Correct regex for MSK arn

* fix: Add the uninstrumented entities on miss
  • Loading branch information
Sanjalee-NewRelic authored Feb 24, 2025
1 parent 48ac461 commit 7e89316
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ lookups:
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: AWSELASTICSEARCHCLUSTER
4 changes: 3 additions & 1 deletion relationships/candidates/AWSMQBROKER_EXPLICIT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ lookups:
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: MQBROKER
4 changes: 3 additions & 1 deletion relationships/candidates/KAFKATOPIC_EXPLICIT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ lookups:
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: KAFKATOPIC
4 changes: 3 additions & 1 deletion relationships/candidates/MEMCACHED_EXPLICIT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ lookups:
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: MEMCACHED
4 changes: 3 additions & 1 deletion relationships/candidates/REDIS_EXPLICIT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ lookups:
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: NO_OP
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: REDIS
2 changes: 1 addition & 1 deletion relationships/synthesis/EXT-SERVICE-to-MEMCACHED.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ relationships:
- attribute: entity.type
anyOf: [ "SERVICE" ]
- attribute: newrelic.aws_metric_streams.arn
regex: "^arn:aws:elasticache:[^:]*:[^:]*:cluster/[^:]*"
regex: "^arn:aws:elasticache:[^:]*:[^:]*:cluster:[^:]+$"
relationship:
expires: P75M
relationshipType: CALLS
Expand Down

0 comments on commit 7e89316

Please sign in to comment.