Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-51529

Add VM vNics info metric

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV-8094 - CNV Observability
    • ---
    • ---
    • None

      Add a metric that reports the vNIC information like: vmi name, vnic name, namespace, network and vnic type.

      Examples:

      {
         kubevirt_vmi_vnic_info{ vmi_name="vm1", namespace="default", vnic_name="nic1", binding_type="bridge" } 1 
         kubevirt_vmi_vnic_info{ vmi_name="vm1", namespace="default", vnic_name="nic2", binding_type="binding", binding_value="custom-binding-name" } 1
         kubevirt_vmi_vnic_info{ vmi_name="ahadas-host-1", namespace="rhv-ahadas", vnic_name="net-0",network="default/blue", binding_type="Bridge" } 1
         kubevirt_vmi_vnic_info{ vmi_name="VMcentos-stream8-amethyst-ptarmigan-73", namespace="ralavi-ns", vnic_name="default",network="Pod networking", binding_type="Masquerade" } 1
      }
      

              kmajcher@redhat.com Krzysztof Majcher
              sradco Shirly Radco
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: