阿里云Prometheus监控按照指标上报次数收费。指标分为两种类型:基础指标和自定义指标。其中,基础指标不收费,自定义指标于2020年1月6日开始收费。

Prometheus监控支持的容器集群基础指标如下表所示。

任务类型(Job) 任务名称(Job Name)
Prometheus _arms-prom/node-exporter/0
node-exporter
kubelet信息 _arms/kubelet/metric
_arms-prom/kube-apiserver/metric
_arms-prom/kubelet/0
_arms-prom/kubelet/1
Pod CPU _arms/kubelet/cadvisor
_arms-prom/kube-apiserver/cadvisor
API Server _arms-prom-kube-apiserver
apiserver
_arms-prom/kube-apiserver/0
K8s静态YAML _kube-state-metrics
Ingress arms-ack-ingress
ingress
CoreDNS arms-ack-coredns
coredns

Prometheus监控支持的消息队列RocketMQ版云服务的基础指标如下表所示。

指标分类 指标名称
生产者 rocketmq_producer_requests
rocketmq_producer_messages
rocketmq_producer_message_size_bytes
rocketmq_producer_send_success_rate
rocketmq_producer_failure_api_calls
rocketmq_producer_send_rt_milliseconds_avg
rocketmq_producer_send_rt_milliseconds_min
rocketmq_producer_send_rt_milliseconds_max
rocketmq_producer_send_rt_milliseconds_p95
rocketmq_producer_send_rt_milliseconds_p99
消费者 rocketmq_consumer_requests
rocketmq_consumer_send_back_requests
rocketmq_consumer_send_back_messages
rocketmq_consumer_messages
rocketmq_consumer_message_size_bytes
rocketmq_consumer_ready_and_inflight_messages
rocketmq_consumer_ready_messages
rocketmq_consumer_inflight_messages
rocketmq_consumer_queue_time_milliseconds
rocketmq_consumer_message_await_time_milliseconds_avg
rocketmq_consumer_message_await_time_milliseconds_min
rocketmq_consumer_message_await_time_milliseconds_max
rocketmq_consumer_message_await_time_milliseconds_p95
rocketmq_consumer_message_await_time_milliseconds_p99
rocketmq_consumer_message_process_time_milliseconds_avg
rocketmq_consumer_message_process_time_milliseconds_min
rocketmq_consumer_message_process_time_milliseconds_max
rocketmq_consumer_message_process_time_milliseconds_p95
rocketmq_consumer_message_process_time_milliseconds_p99
rocketmq_consumer_consume_success_rate
rocketmq_consumer_failure_api_calls
rocketmq_consumer_to_dlq_messages

您还可以在Prometheus监控健康检查页面查看基础指标涉及的采集任务(Job)。

  1. 登录Prometheus控制台
  2. Prometheus监控页面左上角选择目标地域,然后单击需要查看的K8s集群名称。
  3. 在左侧导航栏单击健康检查
  4. 健康检查结果页面的健康检查结果第4步查看目前启动的采集任务(Job),根据是否免费,可以判断是否是基础指标涉及的采集任务(Job)。Health Check