View a markdown version of this page

指标 - Amazon SDK for .NET (V3)
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

Amazon SDK for .NET V3 已结束支持。

我们建议您迁移到 Amazon SDK for .NET V4。有关如何迁移的更多详细信息和信息,请参阅我们的终止支持公告

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

指标

下表列出了 SDK 发出的遥测指标。配置遥测提供程序以使指标可观测。

发出哪些指标?
指标名称 单位 类型 属性 描述
client.call.duration s 直方图 rpc.service, rpc.method 总体调用时长(包括重试时间以及发送或接收请求和响应正文所用的时间)
client.uptime s 直方图 rpc.service 自客户端创建以来的时间
client.call.attempts {attempt} MonotonicCounter rpc.service, rpc.method 单个操作的尝试次数
client.call.errors {error} MonotonicCounter rpc.service, rpc.method, exception.type 操作的错误数
client.call.attempt_duration s 直方图 rpc.service, rpc.method 连接到服务、发送请求以及获取 HTTP 状态代码和标头所用的时间(包括等待发送的排队时间)
client.call.resolve_endpoint_duration s 直方图 rpc.service, rpc.method 解析请求的端点(端点解析器,不是 DNS)所用的时间
client.call.serialization_duration s 直方图 rpc.service, rpc.method 序列化消息正文所用的时间
client.call.deserialization_duration s 直方图 rpc.service, rpc.method 反序列化消息正文所用的时间
client.call.auth.signing_duration s 直方图 rpc.service, rpc.method 签署请求所用的时间
client.call.auth.resolve_identity_duration s 直方图 rpc.service, rpc.method 从身份提供商处获取身份(例如 Amazon 凭证或持有者令牌)所用的时间
client.http.bytes_sent 方式 MonotonicCounter server.address HTTP 客户端发送的字节总数
client.http.bytes_received 方式 MonotonicCounter server.address HTTP 客户端接收的字节总数

以下是列说明:

  • 指标名称 – 发出的指标的名称。

  • 单位 - 指标的度量单位。单位以 UCUM 区分大小写(“c/s”)表示法给出。

  • 类型 - 用于捕获指标的工具类型。

  • 属性 - 与指标一起发出的一组属性(维度)。

  • 描述 - 对指标所衡量内容的描述。