Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

指标

Apstra 流量收集器公开端点, /metrics 以提供与其性能和所用资源相关的与 Prometheus 兼容的统计信息。端点以 Prometheus 基于文本的说明格式返回数据。请查看 Prometheus 文档 了解详情。

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

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 应用程序的名称。

OpenSearch 输出

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 输出的名称。