

# HarnessStreamMetrics
<a name="API_HarnessStreamMetrics"></a>

Latency metrics for the invocation.

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

 ** latencyMs **   <a name="BedrockAgentCore-Type-HarnessStreamMetrics-latencyMs"></a>
The end-to-end latency of the invocation in milliseconds.  
Type: Long  
Required: Yes

## See Also
<a name="API_HarnessStreamMetrics_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/bedrock-agentcore-2024-02-28/HarnessStreamMetrics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-2024-02-28/HarnessStreamMetrics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-2024-02-28/HarnessStreamMetrics) 