Skip to content

Commit

Permalink
[bug-fix] Reference changed without changing the definition
Browse files Browse the repository at this point in the history
a metric name changed only in the test files and not in the metric definition.
Signed-off-by: Aviv Litman <[email protected]>
  • Loading branch information
Aviv Litman committed Aug 22, 2023
1 parent 8ad9647 commit 2ff366d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The number of VMs in the cluster by namespace. Type: Gauge.
### kubevirt_virt_api_up
The number of virt-api pods that are up. Type: Gauge.

### kubevirt_virt_controller_leading
### kubevirt_virt_controller_leading_status
Indication for an operating virt-controller. Type: Gauge.

### kubevirt_virt_controller_ready
Expand Down
2 changes: 1 addition & 1 deletion pkg/virt-controller/watch/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ var (

leaderGauge = prometheus.NewGauge(
prometheus.GaugeOpts{
Name: "kubevirt_virt_controller_leading",
Name: "kubevirt_virt_controller_leading_status",
Help: "Indication for an operating virt-controller.",
},
)
Expand Down

0 comments on commit 2ff366d

Please sign in to comment.