Amazon API 使用情况指标 - Amazon CloudWatch
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 Amazon Web Services 服务入门

Amazon API 使用情况指标

大多数支持 Amazon CloudTrail 日志记录的 API 还会向 CloudWatch 报告使用情况指标。CloudWatch 中的 API 使用情况指标允许您通过在 CloudWatch 控制台中直观呈现指标、创建自定义控制面板、使用 CloudWatch 异常检测功能检测活动变化以及配置在使用量接近阈值时提示您的告警,主动管理 API 使用情况。

下表列出了向 CloudWatch 报告 API 使用情况指标的服务,以及 Service 维度用于查看该服务的使用情况指标的值。

服务 Service 维度的值

Amazon Identity and Access Management Access Analyzer

Access Analyzer

Amazon Account Management

Account Management

Alexa for Business

A4B

Amazon API Gateway

API Gateway

Amazon App Mesh

App Mesh

Amazon AppConfig

AWS AppConfig

Amazon AppFlow

AppFlow

Application Discovery Service

Application Discovery Service

Amazon AppStream

AppStream

AppStream 2.0 Image Builder

Image Builder

Amazon Athena

Athena

Amazon Audit Manager

Audit Manager

Amazon Backup

Backup

Amazon Batch

Batch

Amazon Braket

Braket

Amazon Budgets

Budgets

Amazon Certificate Manager

Certificate Manager

Amazon Cloud Directory

Cloud Directory

Amazon Cloud Map

Cloud Map

Amazon CloudFormation

CloudFormation

Amazon CloudHSM

CloudHSM

Amazon CloudSearch

CloudSearch

Amazon CloudShell

CloudShell

Amazon CloudTrail

CloudTrail

Amazon CloudWatch

CloudWatch

Amazon CloudWatch Logs

Logs

Amazon CloudWatch Application Insights

CloudWatch Application Insights

Amazon CodeBuild

CodeBuild

Amazon CodeCommit

CodeCommit

Amazon CodeGuru Profiler

CodeGuru Profiler

Amazon CodePipeline

CodePipeline

AWS CodeStar

CodeStar

AWS CodeStar 通知

CodeStar Notifications

AWS CodeStar 连接

CodeStar Connections

Amazon Cognito 身份池

Cognito Identity Pools

Amazon Cognito Sync

Cognito Sync

Amazon Comprehend

Comprehend

Amazon Comprehend Medical

Comprehend Medical

Amazon Compute Optimizer

ComputeOptimzier

Amazon Connect

Connect

Amazon Connect Customer Profiles

Customer Profiles

Amazon 成本和使用情况报告

Cost and Usage Report

Amazon Cost Explorer

Cost Explorer

Amazon Data Exchange

Data Exchange

Amazon Data Lifecycle Manager

Data Lifecycle Manager

Amazon Database Migration Service

Database Migration Service

Amazon DataSync

DataSync

Amazon DeepLens

AWS DeepLens

Amazon Detective

Detective

Device Advisor

Device Advisor

Amazon Direct Connect

Direct Connect

Amazon Directory Service

Directory Service

DynamoDB Accelerator

DynamoDBAccelerator

Amazon EC2

EC2

Amazon Elastic Container Registry

ECR Public

Amazon Elastic Container Service

ECS

Amazon Elastic File System

EFS

Amazon Elastic Kubernetes Service

EKS

Amazon Elastic Beanstalk

Elastic Beanstalk

Amazon Elastic Inference

Elastic Inference

Elastic Load Balancing

Elastic Load Balancing

Amazon EMR

EMR Containers

Amazon Firewall Manager

Firewall Manager

Amazon FSx

FSx

Amazon GameLift

GameLift

Amazon Glue DataBrew

DataBrew

Amazon Managed Grafana

Grafana

Amazon IoT Greengrass

Greengrass

Amazon Ground Station

Ground Station

Amazon Health API 和通知

Amazon Health APIs And Notifications

Amazon Interactive Video Service

IVS

Amazon IoT Core

IoT

Amazon IoT一键

IoT 1-Click

Amazon IoT Events

IoT Events

Amazon IoT RoboRunner

IoT RoboRunner

Amazon IoT SiteWise

IoT Sitewise

Amazon IoT Wireless

IoT Wireless

Amazon Kendra

Kendra

Amazon Keyspaces (for Apache Cassandra)

Keyspaces

Amazon Kinesis Data Analytics

Kinesis Analytics

Amazon Kinesis Data Firehose

Firehose

Kinesis Video Streams

Kinesis Video Streams

Amazon Key Management Service

KMS

Amazon Lambda

Lambda

Amazon Launch Wizard

Launch Wizard

Amazon Lex

Amazon Lex

Amazon Lightsail

Lightsail

Amazon Location Service

Location

Amazon Lookout for Vision

Lookout for Vision

Amazon Machine Learning

Amazon Machine Learning

Amazon Macie

Macie

Amazon Managed Services

AWS Managed Services

Amazon Marketplace Commerce Analytics

Marketplace Analytics Service

AWS Elemental MediaConnect

MediaConnect

AWS Elemental MediaConvert

MediaConvert

AWS Elemental MediaLive

MediaLive

AWS Elemental MediaStore

Mediastore

AWS Elemental MediaTailor

MediaTailor

Amazon Mobile Hub

Mobile Hub

Amazon Network Firewall

Network Firewall

Amazon OpsWorks

OpsWorks

Amazon OpsWorks用于配置管理的

OPsWorks CM

Amazon Outposts

Outposts

Amazon Organizations

Organizations

Amazon RDS Performance Insights

Performance Insights

Amazon Pinpoint

Pinpoint

Amazon Certificate Manager Private Certificate Authority

Private Certificate Authority

Amazon Managed Service for Prometheus

Prometheus

Amazon Proton

Proton

Amazon Quantum Ledger Database (Amazon QLDB)

QLDB

Amazon RDS

RDS

Amazon Redshift

Redshift Data API

Amazon Rekognition

Rekognition

Amazon Resource Access Manager

Resource Access Manager

Amazon Resource Groups

Resource Groups

Amazon Resource Groups Tagging API

Resource Groups Tagging API

Amazon RoboMaker

RoboMaker

Amazon Route 53 Domains

Route 53 Domains

Amazon Route 53 Resolver

Route 53 Resolver

Amazon S3

S3

Simple Storage Service(Amazon S3)Glacier

Amazon S3 Glacier

Amazon SageMaker

Sagemaker

Savings Plans

Savings Plans

Amazon Secrets Manager

Secrets Manager

Amazon Security Hub

Security Hub

Amazon Server Migration Service

Amazon Server Migration Service

Amazon Service Catalog AppRegistry

Service Catalog AppRegistry

Service Quotas

Service Quotas

Amazon Shield

Shield

Amazon Signer

Signer

Amazon Simple Notification Service

SNS

Amazon Simple Email Service

SES

Amazon Simple Queue Service

SQS

Amazon Web Services SSO Identity Store

Identity Store

Storage Gateway

Storage Gateway

Amazon Web Services Support

Support

Amazon Simple Workflow Service

SWF

Amazon Textract

Textract

Amazon IoT Things Graph

ThingsGraph

Amazon Timestream

Timestream

Amazon Transcribe

Transcribe

Amazon Translate

Translate

Amazon Transcribe 串流转录

Transcribe Streaming

Amazon Transfer Family

Transfer

Amazon WAF

WAF

Amazon WorkDocs

Amazon WorkDocs

Amazon WorkLink

WorkLink

Amazon WorkMail

Amazon WorkMail

Amazon WorkSpaces

Workspaces

Amazon X-Ray

X-Ray

某些服务还会报告其他 API 的使用情况指标。若要查看 API 是否向 CloudWatch 报告使用情况指标,请使用 CloudWatch 控制台查看该服务在 AWS/Usage 命名空间中报告的指标。

查看向 CloudWatch 报告使用情况指标的服务 API 列表

  1. 访问 https://console.aws.amazon.com/cloudwatch/ 打开 CloudWatch 控制台。

  2. 在导航窗格中,请选择指标

  3. All metrics(所有指标)选项卡上,选择 Usage(使用情况),然后选择 By Amazon Resource(按亚马逊云科技资源)

  4. 在指标列表旁边的搜索框中,输入服务的名称。指标将根据您输入的服务筛选出来。