Skip to content

feat(k8s-views-nodes): Support FQDN nodename #137

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

BenoitKnecht
Copy link
Contributor

Pull Request

Required Fields

🔎 What kind of change is it?

  • feat

🎯 What has been changed and why do we need it?

  • It is fairly common for the server hostname to be a FQDN (e.g. node-01.example.com), while the node is known to Kubernetes by it's short name (e.g. node-01).

    By relaxing the regex that matches the nodename label to determine the instance name, we can cover that case without the need to relabel metrics.

It is fairly common for the server hostname to be a FQDN (e.g.
`node-01.example.com`), while the node is known to Kubernetes by it's
short name (e.g. `node-01`).

By relaxing the regex that matches the `nodename` label to determine the
`instance` name, we can cover that case without the need to relabel
metrics.

Signed-off-by: Benoît Knecht <[email protected]>
@BenoitKnecht BenoitKnecht requested a review from dotdc as a code owner February 14, 2025 06:51
Copy link
Owner

@dotdc dotdc left a comment

Choose a reason for hiding this comment

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

LGTM

@dotdc dotdc self-assigned this Mar 12, 2025
@dotdc dotdc merged commit 1a128f0 into dotdc:master Mar 12, 2025
1 check passed
@dotdc
Copy link
Owner

dotdc commented Mar 12, 2025

🎉 This PR is included in version 2.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Mar 12, 2025
dotdc added a commit that referenced this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants