

# SourceMetricsConfiguration
<a name="API_SourceMetricsConfiguration"></a>

Configuration for selecting source metrics for centralization.

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

 ** MetricsSelectionCriteria **   <a name="cwoa-Type-SourceMetricsConfiguration-MetricsSelectionCriteria"></a>
The filter expression that selects which source metrics to centralize. Currently, only `*` (all metrics) is supported. Other values return a validation error.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/observabilityadmin-2018-05-10/SourceMetricsConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/observabilityadmin-2018-05-10/SourceMetricsConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/observabilityadmin-2018-05-10/SourceMetricsConfiguration) 