2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Hello.
Try running the command with the dimensions "ClusterName", "ClusterId", and "ShardId".
aws cloudwatch get-metric-statistics \ --namespace AWS/DocDB-Elastic \ --metric-name PrimaryInstanceCPUUtilization \ --period 360 \ --start-time "$(date -u -d '1 hour ago' +'%Y-%m-%dT%H:%M:%SZ')" \ --end-time "$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \ --statistics Average --dimensions Name=ClusterName,Value=test Name=ClusterId,Value=cdbeaxxxxxxxxxxx Name=ShardId,Value=d618xxxxxxxxxxxxxxx
The metrics show that the dimensions are as follows, which must also be specified in the command options.
0
Hi, I ran the following for Sagemaker endpoint, it gave me empty data point. Can you please help ?
aws cloudwatch get-metric-statistics
--namespace AWS/SageMaker
--metric-name CPUUtilization
--period 720
--start-time "$(date -u -d '1 week ago' '+%Y-%m-%dT%H:%M:%S')"
--end-time "$(date -u '+%Y-%m-%dT%H:%M:%S')"
--statistics Average --dimensions Name=EndpointName,Value=mysagemakerendpointname Name=VariantName,Value=CPUUtilization
Output:- { "Label": "CPUUtilization", "Datapoints": [] }
respondido há 3 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 8 meses
- AWS OFICIALAtualizada há 2 anos
- Como solucionar problemas e resolver a utilização elevada da CPU em instâncias do Amazon DocumentDB?AWS OFICIALAtualizada há 8 meses
Thank you Riku, it works. Yay!!!