更新时间:2024-03-01 GMT+08:00
分享

Prometheus Agent视图

Prometheus Agent是轻量化的容器监控模式,可以收集有关主机和应用程序的指标数据,并将数据上报并存储到AOM或三方监控平台。Prometheus Agent视图展示了Prometheus提供的一些内置指标,可用于监控和度量系统的性能和状态。

指标说明

Prometheus Agent视图暴露的指标如下:

表1 Prometheus Agent视图说明

视图指标

单位

描述

CPU使用率

百分比

Prometheus Agent Pod CPU平均使用率

内存使用率

百分比

Prometheus Agent Pod 内存平均使用率

远程写Bps

字节/秒

每秒远程写入的字节数

远程写平均耗时

远程写入平均耗时

远程写Pending字节数

字节

远程写入挂起的数据字节数

远程写Packet每秒丢弃次数

远程写入每秒丢弃的数据包数

远程写每秒错误请求次数

远程写每秒错误请求次数

远程写错误请求百分比

百分比

远程写错误请求百分比

远程写每秒重试次数

远程写每秒重试次数

采集Scrapers数量

采集Scrapers数量

每秒采集次数

每秒采集次数

采集平均耗时

采集平均耗时

每秒采集读取错误次数

每秒采集读取错误次数

每秒采集写入错误次数

每秒采集写入错误次数

每秒采集大小超限次数

每秒采集大小超限次数

发送队列读取Bps

字节/秒

发送队列每秒读的字节数

发送队列写Bps

字节/秒

发送队列每秒写的字节数

发送队列Pending大小

字节

发送队列挂起的数据字节数

每秒Block读取次数

发送队列每秒读block的次数

每秒Block写入次数

发送队列每秒写block的次数

每秒Block丢弃次数

发送队列每秒block丢弃的次数

指标清单

Prometheus Agent视图使用的指标清单如下:
表2 Prometheus Agent指标说明

指标名称

类型

说明

container_cpu_usage_seconds_total

Gauge

容器CPU使用量

container_memory_working_set_bytes

Gauge

容器工作内存使用量

vmagent_remotewrite_bytes_sent_total

Counter

Prometheus Agent远程写入字节数发送总计

vmagent_remotewrite_duration_seconds_sum

Summary

Prometheus Agent远程写入耗时

vmagent_remotewrite_pending_data_bytes

Gauge

Prometheus Agent远程写入挂起数据字节数

vmagent_remotewrite_packets_dropped_total

Counter

Prometheus Agent远程写入数据包丢弃总数

vmagent_remotewrite_requests_total

Counter

Prometheus Agent远程写入请求总数

vmagent_remotewrite_retries_count_total

Counter

Prometheus Agent远程写入重试次数总数

vm_promscrape_active_scrapers

Gauge

采集的分片数量

vm_promscrape_scrapes_total

Counter

采集次数

vm_promscrape_scrape_duration_seconds_sum

Summary

vmagent采集指标的耗时

vm_promscrape_conn_read_errors_total

Counter

采集读取错误次数

vm_promscrape_conn_write_errors_total

Counter

采集写入错误次数

vm_promscrape_max_scrape_size_exceeded_errors_total

Counter

采集大小超过限制的次数

vm_persistentqueue_bytes_read_total

Counter

发送队列读取的总字节数

vm_persistentqueue_bytes_written_total

Counter

发送队列写入的总字节数

vm_persistentqueue_bytes_pending

Gauge

发送队列Pending的字节数

vm_persistentqueue_blocks_read_total

Counter

发送队列读block的次数

vm_persistentqueue_blocks_written_total

Counter

发送队列写block的次数

vm_persistentqueue_blocks_dropped_total

Counter

发送队列block丢弃的次数

分享:

    相关文档

    相关产品