Replicaset namespace relationship - #3119
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Excludes scaled-to-zero ReplicaSets (podsDesired=0) from the NRI-based rule, which account for over half of matched K8sReplicasetSample events in sampled data - these are historical rollout artifacts with no live pods and don't need a continuously-refreshed namespace edge. Also fixes the OTel rule's source resolver from lookupGuid to buildGuid to match the Deployment/DaemonSet/StatefulSet sibling rules, removing an unnecessary candidate-search lookup on every matched event. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
entityBot
left a comment
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
The engine converts everything to strings before any condition evaluation occurs so regex conditions work on numeric attributes. |
entityBot
left a comment
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
entityBot
left a comment
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
Relevant information
Adding replicaset <> namespace relationship file with updated condition to filter more entities.
❓ One question that this may raise is using the
regexcondition matcher with an attribute that is a number. Is this approach valid or can regex only be used with string attributes?Api Review Board (ARB)
ARB Jira ticket:
https://new-relic.atlassian.net/browse/NR-541144
Business justification doc: https://newrelic.atlassian.net/wiki/spaces/KOT/pages/5297407012/Business+Justification+for+K8s+Entities+relationships
Checklist
identifierwill be unique and valid.