Skip to content

Commit fb42924

Browse files
authored
Merge pull request #39553 from chinmayi-chandrasekar/BZ2013756_machine_config_daemon_metrics
BZ2013756: correct machine config metrics in 4.9
2 parents 98897c2 + c02bc26 commit fb42924

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

modules/machine-config-daemon-metrics.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ ifdef::openshift-origin[]
4141
|
4242
endif::openshift-origin[]
4343

44-
|`ssh_accessed`
45-
|`counter`
46-
|Shows the number of successful SSH authentications into the node.
47-
|The non-zero value shows that someone might have made manual changes to the node. Such changes might cause irreconcilable errors due to the differences between the state on the disk and the state defined in the machine configuration.
48-
49-
|`mcd_drain*`
44+
|`mcd_drain_err*`
5045
|`{"drain_time", "err"}`
5146
|Logs errors received during failed drain. *
5247
|While drains might need multiple tries to succeed, terminal failed drains prevent updates from proceeding. The `drain_time` metric, which shows how much time the drain took, might help with troubleshooting.
@@ -56,7 +51,7 @@ For further investigation, see the logs by running:
5651
`$ oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon`
5752

5853
|`mcd_pivot_err*`
59-
|`[]string{"pivot_target", "err"}`
54+
|`[]string{"err", "node", "pivot_target"}`
6055
|Logs errors encountered during pivot. *
6156
|Pivot errors might prevent OS upgrades from proceeding.
6257

@@ -85,7 +80,7 @@ For further investigation, run this command to access the node and see all its l
8580
`$ oc debug node/<node> -- chroot /host journalctl -u kubelet`
8681

8782
|`mcd_reboot_err*`
88-
|`[]string{"message", "err"}`
83+
|`[]string{"message", "err", "node"}`
8984
|Logs the failed reboots and the corresponding errors. *
9085
|This is expected to be empty, which indicates a successful reboot.
9186

0 commit comments

Comments
 (0)