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

Add displayName as a possible tag for k8s candidate matching #1856

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

atrupiano
Copy link
Contributor

@atrupiano atrupiano commented Jan 14, 2025

Relevant information

Adding displayName as a possible tag for matching k8s candidate relationships. We expect displayName to match in the majority of cases, which is why it is being checked before k8s.cluster.name.

The matching mode is being changed to FIRST as we are using this to determine which cluster is being managed by a specific agent, and only want a single target entity to have a relationship synthesized.

Checklist

  • I've read the guidelines and understand the acceptance criteria.
  • [N/A] The value of the attribute marked as identifier will be unique and valid.
  • [N/A] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

@@ -4,8 +4,10 @@ lookups:
- domain: INFRA
type: KUBERNETESCLUSTER
tags:
matchingMode: ANY
matchingMode: FIRST
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are changing the matching mode and it is not present on the description of the PR.

Could we please include the reasoning for this change on the PR description?

Copy link
Contributor

@otaviocarvalho otaviocarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please include the reasoning for the matching mode change on the PR description?

@otaviocarvalho otaviocarvalho self-requested a review January 15, 2025 16:50
@otaviocarvalho otaviocarvalho merged commit 4714112 into newrelic:main Jan 15, 2025
4 checks passed
rohit-bandlamudi-nr pushed a commit to rohit-bandlamudi-nr/entity-definitions that referenced this pull request Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants