We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1787d27 commit 6282014Copy full SHA for 6282014
main.go
@@ -29,7 +29,7 @@ import (
29
)
30
31
var (
32
- version = "0.1.4"
+ version = "0.1.5"
33
config common.Config
34
kClient *kubernetes.Client
35
pClient *proxmox.Client
@@ -47,6 +47,7 @@ var (
47
"cluster",
48
"node",
49
"vmid",
50
+ "vmname",
51
},
52
53
@@ -59,6 +60,7 @@ var (
59
60
61
62
63
64
65
66
@@ -183,6 +185,7 @@ func metrics() {
183
185
qemu.Status.Cluster,
184
186
qemu.Status.Node,
187
strconv.Itoa(qemu.Status.VmId),
188
+ qemu.Metadata.Name,
189
).Set(status)
190
191
var power float64
@@ -195,6 +198,7 @@ func metrics() {
195
198
196
199
197
200
201
202
).Set(power)
203
}
204
0 commit comments