# Enum - MetricType(vim.cns.MetricType)

Since
  vSAN API vSAN 7.0U1

## Enum Description

Enumerates types of metrics.

Enum Constants

Name | Description
--- | ---
CLUSTER | represents cluster metrics CnsClusterType
DATASTORE | represents datastore metrics
DISTRIBUTION | Since vSAN API vSAN 7.0U2
MetricType_Unknown | represent the value when the lower version client cannot recognize the enum value
OP_STATS | represents operation statistics
SAAS_METRICS | Since vSAN API 7.4
STORAGE_POLICY | Since vSAN API vSAN 7.0U3
VOLUME | represents volume metrics

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="MetricType"> <restriction base="xsd:string"> <enumeration value="VOLUME"/> <enumeration value="DATASTORE"/> <enumeration value="CLUSTER"/> <enumeration value="DISTRIBUTION"/> <enumeration value="STORAGE_POLICY"/> <enumeration value="OP_STATS"/> <enumeration value="SAAS_METRICS"/> <enumeration value="MetricType_Unknown"/> </restriction> </simpleType>