1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/virt/monitoring/virt-exposing-downward-metrics.adoc
Audrey Spaulding 909563ef82 RHEL 9
2024-06-14 10:20:24 +00:00

40 lines
1.7 KiB
Plaintext

:_mod-docs-content-type: ASSEMBLY
[id="virt-exposing-downward-metrics"]
= Exposing downward metrics for virtual machines
include::_attributes/common-attributes.adoc[]
:context: virt-exposing-downward-metrics
toc::[]
As an administrator, you can expose a limited set of host and virtual machine (VM) metrics to a guest VM by first enabling a `downwardMetrics` feature gate and then configuring a `downwardMetrics` device.
Users can view the metrics results by using the command line or the `vm-dump-metrics tool`.
[NOTE]
====
On Red Hat Enterprise Linux (RHEL) 9, use the command line to view downward metrics. See xref:../../virt/monitoring/virt-exposing-downward-metrics.adoc#virt-viewing-downward-metrics-cli_virt-exposing-downward-metrics[Viewing downward metrics by using the command line].
The vm-dump-metrics tool is not supported on the Red Hat Enterprise Linux (RHEL) 9 platform.
====
[id="virt-enabling-disabling-feature-gate"]
== Enabling or disabling the downwardMetrics feature gate
You can enable or disable the `downwardMetrics` feature gate by performing either of the following actions:
* Editing the HyperConverged custom resource (CR) in your default editor
* Using the command line
include::modules/virt-enabling-disabling-downward-metrics-feature-gate-yaml.adoc[leveloffset=+2]
include::modules/virt-enabling-disabling-downward-metrics-feature-gate-cli.adoc[leveloffset=+2]
include::modules/virt-configuring-downward-metrics.adoc[leveloffset=+1]
include::modules/virt-viewing-downward-metrics.adoc[leveloffset=+1]
include::modules/virt-viewing-downward-metrics-cli.adoc[leveloffset=+2]
include::modules/virt-viewing-downward-metrics-tool.adoc[leveloffset=+2]