Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

指标

Apstra Flow 收集器公开 /metrics 端点,以提供与其性能和所用资源相关的与 Prometheus 兼容的统计信息。端点以基于 Prometheus 文本的公开格式返回数据。请参阅 Prometheus 文档 以了解更多信息。

本主题介绍您可以从 Apstra Flow 中的终端节点检索 /metrics 的统计信息类型。

app_info

The app_info statistic shows the application details. For example: This record contains the following labels:
Table 1: Application Labels
Label Description
arch The environment running the application.
cpus The number of available CPUs.
env Native install or Docker install.
hostname The name of machine.
os The operating system running the application.
run_id The application ID.

许可证单位

The license_units statistic shows details on your Apstra license. For example:

This record contains the following labels:

Table 2: License Units Labels
Label Description
account_id The license account ID.
expiration The license expiration date.
level The license level.
riskiq_disabled riskiq is disabled for the license.

流 UDP 服务器

The following statistics show the options for UDP server input.

udp_server_packet_queue_util

统计信息 udp_server_packet_queue_util 显示数据包队列的利用率,该队列存储等待处理的已接收数据包。例如:

此记录包含以下标签:

表3:udp_server_packet_queue_util标签
标签 说明
application 应用程序的名称。

udp_server_packets_received_total

统计信息 udp_server_packets_received_total 显示 UDP 服务器接收的数据包总数。例如:

此记录包含以下标签:

表 4:udp_server_packets_received_total标签
标签 说明
application 应用程序的名称。
port UDP 服务器侦听的端口。

udp_server_bytes_received_total

统计信息 udp_server_bytes_received_total 提供 UDP 服务器接收的字节总数。

此记录包含以下标签:

表 5:udp_server_bytes_received_total标签
标签 说明
application 应用程序的名称。
port UDP 服务器侦听的端口。

处理器

record_queue_util

record_queue_util统计信息显示记录队列大小除以其容量的比率。例如:

此记录包含以下标签:

表 6:record_queue_util标签
标签 说明
application 应用程序的名称。

打开搜索输出

outputs_records_received_total

outputs_records_received_total统计数据显示输出接收的记录总数。例如:

此记录包含以下标签:

表 7:outputs_records_received_total标签
标签 说明
application 应用程序的名称。
namespace 命名空间的名称。
output 输出的名称。

outputs_records_sent_total

outputs_records_sent_total统计信息显示输出发送的记录总数。例如:

此记录包含以下标签:

表 8:outputs_records_sent_total标签
标签 说明
application 应用程序的名称。
namespace 命名空间的名称。
output 输出的名称。

outputs_bulk_requests_total

统计信息 outputs_bulk_requests_total 显示输出发送的批量请求的总数。例如:

此记录包含以下标签:

表 9:outputs_bulk_request_total标签
标签 说明
application 应用程序的名称。
namespace 命名空间的名称。
output 输出的名称。

outputs_bulk_requests_errored_total

统计信息 outputs_bulk_requests_errored_total 显示出错的批量请求的总数。例如:

此记录包含以下标签:

表 10:outputs_bulk_request_errored_total标签
标签 说明
application 应用程序的名称。
namespace 命名空间的名称。
output 输出的名称。

outputs_records_errored_total

outputs_records_errored_total统计信息显示错误记录的总数。例如:

此记录包含以下标签:

表 11:outputs_records_errored_total标签
标签 说明
application 应用程序的名称。
namespace 命名空间的名称。
output 输出的名称。