Skip to content

Commit 7a7e512

Browse files
authored
Merge pull request #34669 from jboxman/mco-metrics-code-fonts
Use code font for fields
2 parents a9174f6 + 8989389 commit 7a7e512

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

modules/machine-config-daemon-metrics.adoc

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The following table describes this set of metrics.
1111

1212
[NOTE]
1313
====
14-
Metrics marked with `*` in the `Name` and `Description` columns represent serious errors that might cause performance problems. Such problems might prevent updates and upgrades from proceeding.
14+
Metrics marked with `\*` in the *Name* and *Description* columns represent serious errors that might cause performance problems. Such problems might prevent updates and upgrades from proceeding.
1515
====
1616

1717
[NOTE]
@@ -28,35 +28,35 @@ While some entries contain commands for getting specific logs, the most comprehe
2828
|Notes
2929

3030
ifndef::openshift-origin[]
31-
|mcd_host_os_and_version
32-
|[]string{"os", "version"}
31+
|`mcd_host_os_and_version`
32+
|`[]string{"os", "version"}`
3333
|Shows the OS that MCD is running on, such as RHCOS or RHEL. In case of RHCOS, the version is provided.
3434
|
3535
endif::openshift-origin[]
3636

3737
ifdef::openshift-origin[]
38-
|mcd_host_os_and_version
39-
|[]string{"os", "version"}
38+
|`mcd_host_os_and_version`
39+
|`[]string{"os", "version"}`
4040
|Shows the OS that MCD is running on, such as Fedora.
4141
|
4242
endif::openshift-origin[]
4343

44-
|ssh_accessed
45-
|counter
44+
|`ssh_accessed`
45+
|`counter`
4646
|Shows the number of successful SSH authentications into the node.
4747
|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.
4848

49-
|mcd_drain*
50-
|{"drain_time", "err"}
49+
|`mcd_drain*`
50+
|`{"drain_time", "err"}`
5151
|Logs errors received during failed drain. *
5252
|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.
5353

5454
For further investigation, see the logs by running:
5555

5656
`$ oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon`
5757

58-
|mcd_pivot_err*
59-
|[]string{"pivot_target", "err"}
58+
|`mcd_pivot_err*`
59+
|`[]string{"pivot_target", "err"}`
6060
|Logs errors encountered during pivot. *
6161
|Pivot errors might prevent OS upgrades from proceeding.
6262

@@ -68,33 +68,33 @@ Alternatively, you can run this command to only see the logs from the `machine-c
6868

6969
`$ oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon`
7070

71-
|mcd_state
72-
|[]string{"state", "reason"}
71+
|`mcd_state`
72+
|`[]string{"state", "reason"}`
7373
|State of Machine Config Daemon for the indicated node. Possible states are "Done", "Working", and "Degraded". In case of "Degraded", the reason is included.
7474
|For further investigation, see the logs by running:
7575

7676
`$ oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon`
7777

78-
|mcd_kubelet_state*
79-
|[]string{"err"}
78+
|`mcd_kubelet_state*`
79+
|`[]string{"err"}`
8080
|Logs kubelet health failures. *
8181
|This is expected to be empty, with failure count of 0. If failure count exceeds 2, the error indicating threshold is exceeded. This indicates a possible issue with the health of the kubelet.
8282

8383
For further investigation, run this command to access the node and see all its logs:
8484

8585
`$ oc debug node/<node> -- chroot /host journalctl -u kubelet`
8686

87-
|mcd_reboot_err*
88-
|[]string{"message", "err"}
87+
|`mcd_reboot_err*`
88+
|`[]string{"message", "err"}`
8989
|Logs the failed reboots and the corresponding errors. *
9090
|This is expected to be empty, which indicates a successful reboot.
9191

9292
For further investigation, see the logs by running:
9393

9494
`$ oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon`
9595

96-
|mcd_update_state
97-
|[]string{"config", "err"}
96+
|`mcd_update_state`
97+
|`[]string{"config", "err"}`
9898
|Logs success or failure of configuration updates and the corresponding errors.
9999
|The expected value is `rendered-master/rendered-worker-XXXX`. If the update fails, an error is present.
100100

0 commit comments

Comments
 (0)