

# MetricsConfig
<a name="API_MetricsConfig"></a>

The configuration for Utilization metrics.

## Contents
<a name="API_MetricsConfig_Contents"></a>

 ** EnableEnhancedMetrics **   <a name="sagemaker-Type-MetricsConfig-EnableEnhancedMetrics"></a>
Specifies whether to enable enhanced metrics for the endpoint. Enhanced metrics provide utilization data at instance and container granularity. Container granularity is supported for Inference Components. The default is `False`.  
Type: Boolean  
Required: No

 ** MetricPublishFrequencyInSeconds **   <a name="sagemaker-Type-MetricsConfig-MetricPublishFrequencyInSeconds"></a>
The frequency, in seconds, at which utilization metrics are published to Amazon CloudWatch. The default is `60` seconds.  
Type: Integer  
Required: No

## See Also
<a name="API_MetricsConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/MetricsConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/MetricsConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/MetricsConfig) 