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

Exposing metrics #147

Open
bygui86 opened this issue May 8, 2024 · 0 comments
Open

Exposing metrics #147

bygui86 opened this issue May 8, 2024 · 0 comments

Comments

@bygui86
Copy link
Contributor

bygui86 commented May 8, 2024

Hi everybody,

first of all thanks for this amazing tool, it's super useful!

It would be a really good idea to expose some metrics :) maybe not only Golang default ones, but also something custom like:

  • kubeip_ip_address_usable_total to show how many reserved IP addresses were found and are usable by KubeIP
  • kubeip_ip_address_assigned_total to show how many of the available IP addresses are currently in use
  • kubeip_ip_address_available_total to show how many of the available IP addresses are still available (not in use)
  • kubeip_ip_address_assigned to show if and which IP address was assigned to the node KubeIP is running on
    • possible values:
      • 0 if an IP address was successfully assigned
      • 1 otherwise
    • labels:
      • k8s_node
      • ip_address_name
      • ip_address
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

No branches or pull requests

1 participant