This pull request introduces a Python script that retrieves invocation metrics for a specified SageMaker endpoint within a given time range. The function get_endpoint_metrics allows users to get a Dataframe with metrics such as Invocations, Invocation4XXErrors, and Invocation5XXErrors, CPU Utilization, and Memory Utilization from CloudWatch.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
This pull request introduces a Python script that retrieves invocation metrics for a specified SageMaker endpoint within a given time range. The function
get_endpoint_metrics
allows users to get a Dataframe with metrics such asInvocations
,Invocation4XXErrors
, andInvocation5XXErrors
,CPU Utilization
, andMemory Utilization
from CloudWatch.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.