Skip to content

[feat metrics] Add new k8gb_gslb_healthy_local_records prom metrics#2204

Merged
ytsarev merged 2 commits intok8gb-io:masterfrom
Piroddi:piroddi/healthy_local_records_metric
Feb 3, 2026
Merged

[feat metrics] Add new k8gb_gslb_healthy_local_records prom metrics#2204
ytsarev merged 2 commits intok8gb-io:masterfrom
Piroddi:piroddi/healthy_local_records_metric

Conversation

@Piroddi
Copy link
Contributor

@Piroddi Piroddi commented Feb 2, 2026

Adds a new prometheus metric k8gb_gslb_healthy_local_records

Value is determined from how many of the local cluster's exposedIPs appear in the aggregated healthyRecord.

This is useful it determining is the local instance is currently contributing to DNS responses.

Fixes: #2197

Signed-off-by: Kelvin Piroddi <kpiroddi@gmail.com>
@netlify
Copy link

netlify bot commented Feb 2, 2026

Deploy Preview for k8gb-preview ready!

Name Link
🔨 Latest commit ff8a353
🔍 Latest deploy log https://app.netlify.com/projects/k8gb-preview/deploys/6981e538f60bc6000764b715
😎 Deploy Preview https://deploy-preview-2204--k8gb-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Looks great 👍
Can you please update the related documentation at docs/metrics.md ? It's getting rendered as https://www.k8gb.io/metrics/ on the website.
Thanks a lot for your contribution!

Signed-off-by: Kelvin Piroddi <kpiroddi@gmail.com>
@Piroddi
Copy link
Contributor Author

Piroddi commented Feb 3, 2026

Looks great 👍 Can you please update the related documentation at docs/metrics.md ? It's getting rendered as https://www.k8gb.io/metrics/ on the website. Thanks a lot for your contribution!

Thanks @ytsarev I have updated the docs.

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the contribution!

@ytsarev ytsarev merged commit f142f2b into k8gb-io:master Feb 3, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] New metric for healthy local records

2 participants