sigs.k8s.io/cluster-api@v1.7.1/config/metrics/crd-metrics-config.yaml (about)

     1  # This file was auto-generated via: make generate-metrics-config
     2  kind: CustomResourceStateMetrics
     3  spec:
     4    resources:
     5    - groupVersionKind:
     6        group: cluster.x-k8s.io
     7        kind: ClusterClass
     8        version: v1beta1
     9      labelsFromPath:
    10        name:
    11        - metadata
    12        - name
    13        namespace:
    14        - metadata
    15        - namespace
    16        uid:
    17        - metadata
    18        - uid
    19      metricNamePrefix: capi_clusterclass
    20      metrics:
    21      - name: info
    22        help: Information about a clusterclass.
    23        each:
    24          info:
    25            # TODO: added metadata.name even it's already defined above as the metric doesn't work with empty labelsFromPath.
    26            labelsFromPath:
    27              name:
    28              - metadata
    29              - name
    30          type: Info
    31      - name: created
    32        help: Unix creation timestamp.
    33        each:
    34          gauge:
    35            path:
    36            - metadata
    37            - creationTimestamp
    38          type: Gauge
    39      - name: annotation_paused
    40        help: Whether the clusterclass is paused and any of its resources will not be processed by the controllers.
    41        each:
    42          info:
    43            path:
    44            - metadata
    45            - annotations
    46            - cluster.x-k8s.io/paused
    47            labelsFromPath:
    48              paused_value: []
    49          type: Info
    50      - name: status_condition
    51        help: The condition of a clusterclass.
    52        each:
    53          stateSet:
    54            labelName: status
    55            labelsFromPath:
    56              type:
    57              - type
    58            list:
    59            - 'True'
    60            - 'False'
    61            - Unknown
    62            path:
    63            - status
    64            - conditions
    65            valueFrom:
    66            - status
    67          type: StateSet
    68      - name: status_condition_last_transition_time
    69        help: The condition last transition time of a clusterclass.
    70        each:
    71          gauge:
    72            labelsFromPath:
    73              type:
    74              - type
    75              status:
    76              - status
    77            path:
    78            - status
    79            - conditions
    80            valueFrom:
    81            - lastTransitionTime
    82          type: Gauge
    83      - name: owner
    84        help: Owner references.
    85        each:
    86          info:
    87            labelsFromPath:
    88              owner_is_controller:
    89              - controller
    90              owner_kind:
    91              - kind
    92              owner_name:
    93              - name
    94              owner_uid:
    95              - uid
    96            path:
    97            - metadata
    98            - ownerReferences
    99          type: Info
   100    - groupVersionKind:
   101        group: cluster.x-k8s.io
   102        kind: Cluster
   103        version: v1beta1
   104      labelsFromPath:
   105        name:
   106        - metadata
   107        - name
   108        namespace:
   109        - metadata
   110        - namespace
   111        uid:
   112        - metadata
   113        - uid
   114      metricNamePrefix: capi_cluster
   115      metrics:
   116      - name: info
   117        help: Information about a cluster.
   118        each:
   119          info:
   120            labelsFromPath:
   121              topology_version:
   122              - spec
   123              - topology
   124              - version
   125              topology_class:
   126              - spec
   127              - topology
   128              - class
   129              control_plane_endpoint_host:
   130              - spec
   131              - controlPlaneEndpoint
   132              - host
   133              control_plane_endpoint_port:
   134              - spec
   135              - controlPlaneEndpoint
   136              - port
   137              control_plane_reference_kind:
   138              - spec
   139              - controlPlaneRef
   140              - kind
   141              control_plane_reference_name:
   142              - spec
   143              - controlPlaneRef
   144              - name
   145              infrastructure_reference_kind:
   146              - spec
   147              - infrastructureRef
   148              - kind
   149              infrastructure_reference_name:
   150              - spec
   151              - infrastructureRef
   152              - name
   153          type: Info
   154      - name: spec_paused
   155        help: Whether the cluster is paused and any of its resources will not be processed by the controllers.
   156        each:
   157          gauge:
   158            nilIsZero: true
   159            path:
   160            - spec
   161            - paused
   162          type: Gauge
   163      - name: status_phase
   164        help: The clusters current phase.
   165        each:
   166          stateSet:
   167            labelName: phase
   168            list:
   169            - Pending
   170            - Provisioning
   171            - Provisioned
   172            - Deleting
   173            - Failed
   174            - Unknown
   175            path:
   176            - status
   177            - phase
   178          type: StateSet
   179      - name: created
   180        help: Unix creation timestamp.
   181        each:
   182          gauge:
   183            path:
   184            - metadata
   185            - creationTimestamp
   186          type: Gauge
   187      - name: annotation_paused
   188        help: Whether the cluster is paused and any of its resources will not be processed by the controllers.
   189        each:
   190          info:
   191            path:
   192            - metadata
   193            - annotations
   194            - cluster.x-k8s.io/paused
   195            labelsFromPath:
   196              paused_value: []
   197          type: Info
   198      - name: status_condition
   199        help: The condition of a cluster.
   200        each:
   201          stateSet:
   202            labelName: status
   203            labelsFromPath:
   204              type:
   205              - type
   206            list:
   207            - 'True'
   208            - 'False'
   209            - Unknown
   210            path:
   211            - status
   212            - conditions
   213            valueFrom:
   214            - status
   215          type: StateSet
   216      - name: status_condition_last_transition_time
   217        help: The condition last transition time of a cluster.
   218        each:
   219          gauge:
   220            labelsFromPath:
   221              type:
   222              - type
   223              status:
   224              - status
   225            path:
   226            - status
   227            - conditions
   228            valueFrom:
   229            - lastTransitionTime
   230          type: Gauge
   231    - groupVersionKind:
   232        group: controlplane.cluster.x-k8s.io
   233        kind: KubeadmControlPlane
   234        version: v1beta1
   235      labelsFromPath:
   236        cluster_name:
   237        - metadata
   238        - ownerReferences
   239        - '[kind=Cluster]'
   240        - name
   241        name:
   242        - metadata
   243        - name
   244        namespace:
   245        - metadata
   246        - namespace
   247        uid:
   248        - metadata
   249        - uid
   250      metricNamePrefix: capi_kubeadmcontrolplane
   251      metrics:
   252      - name: info
   253        help: Information about a kubeadmcontrolplane.
   254        each:
   255          info:
   256            labelsFromPath:
   257              version:
   258              - spec
   259              - version
   260          type: Info
   261      - name: status_replicas
   262        help: The number of replicas per kubeadmcontrolplane.
   263        each:
   264          gauge:
   265            path:
   266            - status
   267            - replicas
   268            nilIsZero: true
   269          type: Gauge
   270      - name: status_replicas_ready
   271        help: The number of ready replicas per kubeadmcontrolplane.
   272        each:
   273          gauge:
   274            path:
   275            - status
   276            - readyReplicas
   277            nilIsZero: true
   278          type: Gauge
   279      - name: status_replicas_unavailable
   280        help: The number of unavailable replicas per kubeadmcontrolplane.
   281        each:
   282          gauge:
   283            path:
   284            - status
   285            - unavailableReplicas
   286            nilIsZero: true
   287          type: Gauge
   288      - name: status_replicas_updated
   289        help: The number of updated replicas per kubeadmcontrolplane.
   290        each:
   291          gauge:
   292            path:
   293            - status
   294            - updatedReplicas
   295            nilIsZero: true
   296          type: Gauge
   297      - name: spec_replicas
   298        help: The number of desired machines for a kubeadmcontrolplane.
   299        each:
   300          gauge:
   301            path:
   302            - spec
   303            - replicas
   304          type: Gauge
   305      - name: spec_strategy_rollingupdate_max_surge
   306        help: Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a kubeadmcontrolplane.
   307        each:
   308          gauge:
   309            path:
   310            - spec
   311            - rolloutStrategy
   312            - rollingUpdate
   313            - maxSurge
   314          type: Gauge
   315      - name: created
   316        help: Unix creation timestamp.
   317        each:
   318          gauge:
   319            path:
   320            - metadata
   321            - creationTimestamp
   322          type: Gauge
   323      - name: annotation_paused
   324        help: Whether the kubeadmcontrolplane is paused and any of its resources will not be processed by the controllers.
   325        each:
   326          info:
   327            path:
   328            - metadata
   329            - annotations
   330            - cluster.x-k8s.io/paused
   331            labelsFromPath:
   332              paused_value: []
   333          type: Info
   334      - name: status_condition
   335        help: The condition of a kubeadmcontrolplane.
   336        each:
   337          stateSet:
   338            labelName: status
   339            labelsFromPath:
   340              type:
   341              - type
   342            list:
   343            - 'True'
   344            - 'False'
   345            - Unknown
   346            path:
   347            - status
   348            - conditions
   349            valueFrom:
   350            - status
   351          type: StateSet
   352      - name: status_condition_last_transition_time
   353        help: The condition last transition time of a kubeadmcontrolplane.
   354        each:
   355          gauge:
   356            labelsFromPath:
   357              type:
   358              - type
   359              status:
   360              - status
   361            path:
   362            - status
   363            - conditions
   364            valueFrom:
   365            - lastTransitionTime
   366          type: Gauge
   367      - name: owner
   368        help: Owner references.
   369        each:
   370          info:
   371            labelsFromPath:
   372              owner_is_controller:
   373              - controller
   374              owner_kind:
   375              - kind
   376              owner_name:
   377              - name
   378              owner_uid:
   379              - uid
   380            path:
   381            - metadata
   382            - ownerReferences
   383          type: Info
   384    - groupVersionKind:
   385        group: bootstrap.cluster.x-k8s.io
   386        kind: KubeadmConfig
   387        version: v1beta1
   388      labelsFromPath:
   389        cluster_name:
   390        - metadata
   391        - labels
   392        - cluster.x-k8s.io/cluster-name
   393        name:
   394        - metadata
   395        - name
   396        namespace:
   397        - metadata
   398        - namespace
   399        uid:
   400        - metadata
   401        - uid
   402      metricNamePrefix: capi_kubeadmconfig
   403      metrics:
   404      - name: info
   405        help: Information about a kubeadmconfig.
   406        each:
   407          info:
   408            # TODO: added metadata.name even it's already defined above as the metric doesn't work with empty labelsFromPath.
   409            labelsFromPath:
   410              name:
   411              - metadata
   412              - name
   413          type: Info
   414      - name: created
   415        help: Unix creation timestamp.
   416        each:
   417          gauge:
   418            path:
   419            - metadata
   420            - creationTimestamp
   421          type: Gauge
   422      - name: annotation_paused
   423        help: Whether the kubeadmconfig is paused and any of its resources will not be processed by the controllers.
   424        each:
   425          info:
   426            path:
   427            - metadata
   428            - annotations
   429            - cluster.x-k8s.io/paused
   430            labelsFromPath:
   431              paused_value: []
   432          type: Info
   433      - name: status_condition
   434        help: The condition of a kubeadmconfig.
   435        each:
   436          stateSet:
   437            labelName: status
   438            labelsFromPath:
   439              type:
   440              - type
   441            list:
   442            - 'True'
   443            - 'False'
   444            - Unknown
   445            path:
   446            - status
   447            - conditions
   448            valueFrom:
   449            - status
   450          type: StateSet
   451      - name: status_condition_last_transition_time
   452        help: The condition last transition time of a kubeadmconfig.
   453        each:
   454          gauge:
   455            labelsFromPath:
   456              type:
   457              - type
   458              status:
   459              - status
   460            path:
   461            - status
   462            - conditions
   463            valueFrom:
   464            - lastTransitionTime
   465          type: Gauge
   466      - name: owner
   467        help: Owner references.
   468        each:
   469          info:
   470            labelsFromPath:
   471              owner_is_controller:
   472              - controller
   473              owner_kind:
   474              - kind
   475              owner_name:
   476              - name
   477              owner_uid:
   478              - uid
   479            path:
   480            - metadata
   481            - ownerReferences
   482          type: Info
   483    - groupVersionKind:
   484        group: cluster.x-k8s.io
   485        kind: Machine
   486        version: v1beta1
   487      labelsFromPath:
   488        cluster_name:
   489        - spec
   490        - clusterName
   491        name:
   492        - metadata
   493        - name
   494        namespace:
   495        - metadata
   496        - namespace
   497        uid:
   498        - metadata
   499        - uid
   500      metricNamePrefix: capi_machine
   501      metrics:
   502      - name: info
   503        help: Information about a machine.
   504        each:
   505          info:
   506            labelsFromPath:
   507              container_runtime_version:
   508              - status
   509              - nodeInfo
   510              - containerRuntimeVersion
   511              failure_domain:
   512              - spec
   513              - failureDomain
   514              kernel_version:
   515              - status
   516              - nodeInfo
   517              - kernelVersion
   518              kubelet_version:
   519              - status
   520              - nodeInfo
   521              - kubeletVersion
   522              kube_proxy_version:
   523              - status
   524              - nodeInfo
   525              - kubeProxyVersion
   526              os_image:
   527              - status
   528              - nodeInfo
   529              - osImage
   530              provider_id:
   531              - spec
   532              - providerID
   533              version:
   534              - spec
   535              - version
   536              bootstrap_reference_kind:
   537              - spec
   538              - bootstrap
   539              - configRef
   540              - kind
   541              bootstrap_reference_name:
   542              - spec
   543              - bootstrap
   544              - configRef
   545              - name
   546              infrastructure_reference_kind:
   547              - spec
   548              - infrastructureRef
   549              - kind
   550              infrastructure_reference_name:
   551              - spec
   552              - infrastructureRef
   553              - name
   554              control_plane_name:
   555              - metadata
   556              - labels
   557              - cluster.x-k8s.io/control-plane-name
   558          type: Info
   559      - name: addresses
   560        help: Address information about a machine.
   561        each:
   562          info:
   563            path:
   564            - status
   565            - addresses
   566            labelsFromPath:
   567              type:
   568              - type
   569              address:
   570              - address
   571          type: Info
   572      - name: status_certificatesexpirydate
   573        help: Information about certificate expiration date of a control plane node.
   574        each:
   575          gauge:
   576            nilIsZero: true
   577            path:
   578              - status
   579              - certificatesExpiryDate
   580          type: Gauge
   581      - name: status_noderef
   582        help: Information about the node reference of a machine.
   583        each:
   584          info:
   585            labelsFromPath:
   586              node_name:
   587              - status
   588              - nodeRef
   589              - name
   590              node_uid:
   591              - status
   592              - nodeRef
   593              - uid
   594          type: Info
   595      - name: status_phase
   596        help: The machines current phase.
   597        each:
   598          stateSet:
   599            labelName: phase
   600            list:
   601            - Pending
   602            - Provisioning
   603            - Provisioned
   604            - Running
   605            - Deleting
   606            - Deleted
   607            - Failed
   608            - Unknown
   609            path:
   610            - status
   611            - phase
   612          type: StateSet
   613      - name: created
   614        help: Unix creation timestamp.
   615        each:
   616          gauge:
   617            path:
   618            - metadata
   619            - creationTimestamp
   620          type: Gauge
   621      - name: annotation_paused
   622        help: Whether the machine is paused and any of its resources will not be processed by the controllers.
   623        each:
   624          info:
   625            path:
   626            - metadata
   627            - annotations
   628            - cluster.x-k8s.io/paused
   629            labelsFromPath:
   630              paused_value: []
   631          type: Info
   632      - name: status_condition
   633        help: The condition of a machine.
   634        each:
   635          stateSet:
   636            labelName: status
   637            labelsFromPath:
   638              type:
   639              - type
   640            list:
   641            - 'True'
   642            - 'False'
   643            - Unknown
   644            path:
   645            - status
   646            - conditions
   647            valueFrom:
   648            - status
   649          type: StateSet
   650      - name: status_condition_last_transition_time
   651        help: The condition last transition time of a machine.
   652        each:
   653          gauge:
   654            labelsFromPath:
   655              type:
   656              - type
   657              status:
   658              - status
   659            path:
   660            - status
   661            - conditions
   662            valueFrom:
   663            - lastTransitionTime
   664          type: Gauge
   665      - name: owner
   666        help: Owner references.
   667        each:
   668          info:
   669            labelsFromPath:
   670              owner_is_controller:
   671              - controller
   672              owner_kind:
   673              - kind
   674              owner_name:
   675              - name
   676              owner_uid:
   677              - uid
   678            path:
   679            - metadata
   680            - ownerReferences
   681          type: Info
   682    - groupVersionKind:
   683        group: cluster.x-k8s.io
   684        kind: MachineDeployment
   685        version: v1beta1
   686      labelsFromPath:
   687        cluster_name:
   688        - spec
   689        - clusterName
   690        name:
   691        - metadata
   692        - name
   693        namespace:
   694        - metadata
   695        - namespace
   696        uid:
   697        - metadata
   698        - uid
   699      metricNamePrefix: capi_machinedeployment
   700      metrics:
   701      - name: info
   702        help: Information about a machinedeployment.
   703        each:
   704          info:
   705            labelsFromPath:
   706              version:
   707              - spec
   708              - template
   709              - spec
   710              - version
   711              bootstrap_reference_kind:
   712              - spec
   713              - template
   714              - spec
   715              - bootstrap
   716              - configRef
   717              - kind
   718              bootstrap_reference_name:
   719              - spec
   720              - template
   721              - spec
   722              - bootstrap
   723              - configRef
   724              - name
   725              infrastructure_reference_kind:
   726              - spec
   727              - template
   728              - spec
   729              - infrastructureRef
   730              - kind
   731              infrastructure_reference_name:
   732              - spec
   733              - template
   734              - spec
   735              - infrastructureRef
   736              - name
   737          type: Info
   738      - name: spec_paused
   739        help: Whether the machinedeployment is paused and any of its resources will not be processed by the controllers.
   740        each:
   741          gauge:
   742            nilIsZero: true
   743            path:
   744            - spec
   745            - paused
   746          type: Gauge
   747      - name: spec_replicas
   748        help: The number of desired machines for a machinedeployment.
   749        each:
   750          gauge:
   751            path:
   752            - spec
   753            - replicas
   754          type: Gauge
   755      - name: spec_strategy_rollingupdate_max_surge
   756        help: Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a machinedeployment.
   757        each:
   758          gauge:
   759            path:
   760            - spec
   761            - strategy
   762            - rollingUpdate
   763            - maxSurge
   764          type: Gauge
   765      - name: spec_strategy_rollingupdate_max_unavailable
   766        help: Maximum number of unavailable replicas during a rolling update of a machinedeployment.
   767        each:
   768          gauge:
   769            path:
   770            - spec
   771            - strategy
   772            - rollingUpdate
   773            - maxUnavailable
   774          type: Gauge
   775      - name: status_phase
   776        help: The machinedeployments current phase.
   777        each:
   778          stateSet:
   779            labelName: phase
   780            list:
   781            - ScalingUp
   782            - ScalingDown
   783            - Running
   784            - Failed
   785            - Unknown
   786            path:
   787            - status
   788            - phase
   789          type: StateSet
   790      - name: status_replicas
   791        help: The number of replicas per machinedeployment.
   792        each:
   793          gauge:
   794            path:
   795            - status
   796            - replicas
   797            nilIsZero: true
   798          type: Gauge
   799      - name: status_replicas_available
   800        help: The number of available replicas per machinedeployment.
   801        each:
   802          gauge:
   803            path:
   804            - status
   805            - availableReplicas
   806            nilIsZero: true
   807          type: Gauge
   808      - name: status_replicas_ready
   809        help: The number of ready replicas per machinedeployment.
   810        each:
   811          gauge:
   812            path:
   813            - status
   814            - readyReplicas
   815            nilIsZero: true
   816          type: Gauge
   817      - name: status_replicas_unavailable
   818        help: The number of unavailable replicas per machinedeployment.
   819        each:
   820          gauge:
   821            path:
   822            - status
   823            - unavailableReplicas
   824            nilIsZero: true
   825          type: Gauge
   826      - name: status_replicas_updated
   827        help: The number of updated replicas per machinedeployment.
   828        each:
   829          gauge:
   830            path:
   831            - status
   832            - updatedReplicas
   833            nilIsZero: true
   834          type: Gauge
   835      - name: created
   836        help: Unix creation timestamp.
   837        each:
   838          gauge:
   839            path:
   840            - metadata
   841            - creationTimestamp
   842          type: Gauge
   843      - name: annotation_paused
   844        help: Whether the machinedeployment is paused and any of its resources will not be processed by the controllers.
   845        each:
   846          info:
   847            path:
   848            - metadata
   849            - annotations
   850            - cluster.x-k8s.io/paused
   851            labelsFromPath:
   852              paused_value: []
   853          type: Info
   854      - name: status_condition
   855        help: The condition of a machinedeployment.
   856        each:
   857          stateSet:
   858            labelName: status
   859            labelsFromPath:
   860              type:
   861              - type
   862            list:
   863            - 'True'
   864            - 'False'
   865            - Unknown
   866            path:
   867            - status
   868            - conditions
   869            valueFrom:
   870            - status
   871          type: StateSet
   872      - name: status_condition_last_transition_time
   873        help: The condition last transition time of a machinedeployment.
   874        each:
   875          gauge:
   876            labelsFromPath:
   877              type:
   878              - type
   879              status:
   880              - status
   881            path:
   882            - status
   883            - conditions
   884            valueFrom:
   885            - lastTransitionTime
   886          type: Gauge
   887      - name: owner
   888        help: Owner references.
   889        each:
   890          info:
   891            labelsFromPath:
   892              owner_is_controller:
   893              - controller
   894              owner_kind:
   895              - kind
   896              owner_name:
   897              - name
   898              owner_uid:
   899              - uid
   900            path:
   901            - metadata
   902            - ownerReferences
   903          type: Info
   904    - groupVersionKind:
   905        group: cluster.x-k8s.io
   906        kind: MachineHealthCheck
   907        version: v1beta1
   908      labelsFromPath:
   909        cluster_name:
   910        - spec
   911        - clusterName
   912        name:
   913        - metadata
   914        - name
   915        namespace:
   916        - metadata
   917        - namespace
   918        uid:
   919        - metadata
   920        - uid
   921      metricNamePrefix: capi_machinehealthcheck
   922      metrics:
   923      - name: info
   924        help: Information about a machinehealthcheck.
   925        each:
   926          info:
   927            # TODO: added metadata.name even it's already defined above as the metric doesn't work with empty labelsFromPath.
   928            labelsFromPath:
   929              name:
   930              - metadata
   931              - name
   932          type: Info
   933      - name: status_current_healthy
   934        help: Current number of healthy machines.
   935        each:
   936          gauge:
   937            path:
   938            - status
   939            - currentHealthy
   940          type: Gauge
   941      - name: status_expected_machines
   942        help: Total number of pods counted by this machinehealthcheck.
   943        each:
   944          gauge:
   945            path:
   946            - status
   947            - expectedMachines
   948          type: Gauge
   949      - name: status_remediations_allowed
   950        help: Number of machine remediations that are currently allowed.
   951        each:
   952          gauge:
   953            path:
   954            - status
   955            - remediationsAllowed
   956          type: Gauge
   957      - name: created
   958        help: Unix creation timestamp.
   959        each:
   960          gauge:
   961            path:
   962            - metadata
   963            - creationTimestamp
   964          type: Gauge
   965      - name: annotation_paused
   966        help: Whether the machinehealthcheck is paused and any of its resources will not be processed by the controllers.
   967        each:
   968          info:
   969            path:
   970            - metadata
   971            - annotations
   972            - cluster.x-k8s.io/paused
   973            labelsFromPath:
   974              paused_value: []
   975          type: Info
   976      - name: status_condition
   977        help: The condition of a machinehealthcheck.
   978        each:
   979          stateSet:
   980            labelName: status
   981            labelsFromPath:
   982              type:
   983              - type
   984            list:
   985            - 'True'
   986            - 'False'
   987            - Unknown
   988            path:
   989            - status
   990            - conditions
   991            valueFrom:
   992            - status
   993          type: StateSet
   994      - name: status_condition_last_transition_time
   995        help: The condition last transition time of a machinehealthcheck.
   996        each:
   997          gauge:
   998            labelsFromPath:
   999              type:
  1000              - type
  1001              status:
  1002              - status
  1003            path:
  1004            - status
  1005            - conditions
  1006            valueFrom:
  1007            - lastTransitionTime
  1008          type: Gauge
  1009      - name: owner
  1010        help: Owner references.
  1011        each:
  1012          info:
  1013            labelsFromPath:
  1014              owner_is_controller:
  1015              - controller
  1016              owner_kind:
  1017              - kind
  1018              owner_name:
  1019              - name
  1020              owner_uid:
  1021              - uid
  1022            path:
  1023            - metadata
  1024            - ownerReferences
  1025          type: Info
  1026    - groupVersionKind:
  1027        group: cluster.x-k8s.io
  1028        kind: MachineSet
  1029        version: v1beta1
  1030      labelsFromPath:
  1031        cluster_name:
  1032        - spec
  1033        - clusterName
  1034        name:
  1035        - metadata
  1036        - name
  1037        namespace:
  1038        - metadata
  1039        - namespace
  1040        uid:
  1041        - metadata
  1042        - uid
  1043      metricNamePrefix: capi_machineset
  1044      metrics:
  1045      - name: info
  1046        help: Information about a machineset.
  1047        each:
  1048          info:
  1049            labelsFromPath:
  1050              version:
  1051              - spec
  1052              - template
  1053              - spec
  1054              - version
  1055              bootstrap_reference_kind:
  1056              - spec
  1057              - template
  1058              - spec
  1059              - bootstrap
  1060              - configRef
  1061              - kind
  1062              bootstrap_reference_name:
  1063              - spec
  1064              - template
  1065              - spec
  1066              - bootstrap
  1067              - configRef
  1068              - name
  1069              infrastructure_reference_kind:
  1070              - spec
  1071              - template
  1072              - spec
  1073              - infrastructureRef
  1074              - kind
  1075              infrastructure_reference_name:
  1076              - spec
  1077              - template
  1078              - spec
  1079              - infrastructureRef
  1080              - name
  1081          type: Info
  1082      - name: spec_replicas
  1083        help: The number of desired machines for a machineset.
  1084        each:
  1085          gauge:
  1086            path:
  1087            - spec
  1088            - replicas
  1089            nilIsZero: true
  1090          type: Gauge
  1091      - name: status_replicas_available
  1092        help: The number of available replicas per machineset.
  1093        each:
  1094          gauge:
  1095            path:
  1096            - status
  1097            - availableReplicas
  1098            nilIsZero: true
  1099          type: Gauge
  1100      - name: status_replicas_fully_labeled
  1101        help: The number of fully labeled replicas per machineset.
  1102        each:
  1103          gauge:
  1104            path:
  1105            - status
  1106            - fullyLabeledReplicas
  1107          type: Gauge
  1108      - name: status_replicas_ready
  1109        help: The number of ready replicas per machineset.
  1110        each:
  1111          gauge:
  1112            path:
  1113            - status
  1114            - readyReplicas
  1115            nilIsZero: true
  1116          type: Gauge
  1117      - name: status_replicas
  1118        help: The number of replicas per machineset.
  1119        each:
  1120          gauge:
  1121            path:
  1122            - status
  1123            - replicas
  1124            nilIsZero: true
  1125          type: Gauge
  1126      - name: created
  1127        help: Unix creation timestamp.
  1128        each:
  1129          gauge:
  1130            path:
  1131            - metadata
  1132            - creationTimestamp
  1133          type: Gauge
  1134      - name: annotation_paused
  1135        help: Whether the machineset is paused and any of its resources will not be processed by the controllers.
  1136        each:
  1137          info:
  1138            path:
  1139            - metadata
  1140            - annotations
  1141            - cluster.x-k8s.io/paused
  1142            labelsFromPath:
  1143              paused_value: []
  1144          type: Info
  1145      - name: status_condition
  1146        help: The condition of a machineset.
  1147        each:
  1148          stateSet:
  1149            labelName: status
  1150            labelsFromPath:
  1151              type:
  1152              - type
  1153            list:
  1154            - 'True'
  1155            - 'False'
  1156            - Unknown
  1157            path:
  1158            - status
  1159            - conditions
  1160            valueFrom:
  1161            - status
  1162          type: StateSet
  1163      - name: status_condition_last_transition_time
  1164        help: The condition last transition time of a machineset.
  1165        each:
  1166          gauge:
  1167            labelsFromPath:
  1168              type:
  1169              - type
  1170              status:
  1171              - status
  1172            path:
  1173            - status
  1174            - conditions
  1175            valueFrom:
  1176            - lastTransitionTime
  1177          type: Gauge
  1178      - name: owner
  1179        help: Owner references.
  1180        each:
  1181          info:
  1182            labelsFromPath:
  1183              owner_is_controller:
  1184              - controller
  1185              owner_kind:
  1186              - kind
  1187              owner_name:
  1188              - name
  1189              owner_uid:
  1190              - uid
  1191            path:
  1192            - metadata
  1193            - ownerReferences
  1194          type: Info
  1195    - groupVersionKind:
  1196        group: cluster.x-k8s.io
  1197        kind: MachinePool
  1198        version: v1beta1
  1199      labelsFromPath:
  1200        cluster_name:
  1201        - spec
  1202        - clusterName
  1203        name:
  1204        - metadata
  1205        - name
  1206        namespace:
  1207        - metadata
  1208        - namespace
  1209        uid:
  1210        - metadata
  1211        - uid
  1212      metricNamePrefix: capi_machinepool
  1213      metrics:
  1214      - name: spec_replicas
  1215        help: The number of desired machines for a machinepool.
  1216        each:
  1217          gauge:
  1218            path:
  1219            - spec
  1220            - replicas
  1221          type: Gauge
  1222      - name: status_replicas
  1223        help: The number of replicas per machinepool.
  1224        each:
  1225          gauge:
  1226            path:
  1227            - status
  1228            - replicas
  1229            nilIsZero: true
  1230          type: Gauge
  1231      - name: status_replicas_ready
  1232        help: The number of ready replicas per machinepool.
  1233        each:
  1234          gauge:
  1235            path:
  1236            - status
  1237            - readyReplicas
  1238            nilIsZero: true
  1239          type: Gauge
  1240      - name: status_replicas_available
  1241        help: The number of available replicas per machinepool.
  1242        each:
  1243          gauge:
  1244            path:
  1245            - status
  1246            - availableReplicas
  1247            nilIsZero: true
  1248          type: Gauge
  1249      - name: status_replicas_unavailable
  1250        help: The number of unavailable replicas per machinepool.
  1251        each:
  1252          gauge:
  1253            path:
  1254            - status
  1255            - unavailableReplicas
  1256            nilIsZero: true
  1257          type: Gauge
  1258      - name: info
  1259        each:
  1260          type: Info
  1261          info:
  1262            labelsFromPath:
  1263              infrastructure_reference_name:
  1264              - spec
  1265              - template
  1266              - spec
  1267              - infrastructureRef
  1268              - name
  1269              infrastructure_reference_kind:
  1270              - spec
  1271              - template
  1272              - spec
  1273              - infrastructureRef
  1274              - kind
  1275              bootstrap_configuration_reference_name:
  1276              - spec
  1277              - template
  1278              - spec
  1279              - bootstrap
  1280              - configRef
  1281              - name
  1282              bootstrap_configuration_reference_kind:
  1283              - spec
  1284              - template
  1285              - spec
  1286              - bootstrap
  1287              - configRef
  1288              - kind
  1289              failure_domain:
  1290              - spec
  1291              - template
  1292              - spec
  1293              - failureDomain
  1294              version:
  1295              - spec
  1296              - template
  1297              - spec
  1298              - version
  1299      - name: status_phase
  1300        help: The machinepools current phase.
  1301        each:
  1302          stateSet:
  1303            labelName: phase
  1304            list:
  1305            - ScalingUp
  1306            - ScalingDown
  1307            - Running
  1308            - Failed
  1309            - Unknown
  1310            path:
  1311            - status
  1312            - phase
  1313          type: StateSet
  1314      - name: created
  1315        help: Unix creation timestamp.
  1316        each:
  1317          gauge:
  1318            path:
  1319            - metadata
  1320            - creationTimestamp
  1321          type: Gauge
  1322      - name: annotation_paused
  1323        help: Whether the machinepool is paused and any of its resources will not be processed by the controllers.
  1324        each:
  1325          info:
  1326            path:
  1327            - metadata
  1328            - annotations
  1329            - cluster.x-k8s.io/paused
  1330            labelsFromPath:
  1331              paused_value: []
  1332          type: Info
  1333      - name: status_condition
  1334        help: The condition of a machinepool.
  1335        each:
  1336          stateSet:
  1337            labelName: status
  1338            labelsFromPath:
  1339              type:
  1340              - type
  1341            list:
  1342            - 'True'
  1343            - 'False'
  1344            - Unknown
  1345            path:
  1346            - status
  1347            - conditions
  1348            valueFrom:
  1349            - status
  1350          type: StateSet
  1351      - name: status_condition_last_transition_time
  1352        help: The condition last transition time of a machinepool.
  1353        each:
  1354          gauge:
  1355            labelsFromPath:
  1356              type:
  1357              - type
  1358              status:
  1359              - status
  1360            path:
  1361            - status
  1362            - conditions
  1363            valueFrom:
  1364            - lastTransitionTime
  1365          type: Gauge
  1366      - name: owner
  1367        help: Owner references.
  1368        each:
  1369          info:
  1370            labelsFromPath:
  1371              owner_is_controller:
  1372              - controller
  1373              owner_kind:
  1374              - kind
  1375              owner_name:
  1376              - name
  1377              owner_uid:
  1378              - uid
  1379            path:
  1380            - metadata
  1381            - ownerReferences
  1382          type: Info