跳到主要内容
版本:v2.0.6

Prometheus 数据指标

文档包含 Dragonfly 组件当前支持的所有指标。 现在支持 Dfdaemon、Manager 和 Scheduler 服务的指标。 获取数据指标的路径固定为 /metrics

Dfdaemon

GRPC 数据指标基于 go-grpc-prometheus.

名字标签类型描述
dragonfly_dfdaemon_proxy_request_totalmethodcounter代理请求总次数。
dragonfly_dfdaemon_proxy_request_via_dragonfly_totalcounter代理通过 drgonfly 的请求次数。
dragonfly_dfdaemon_proxy_request_not_via_dragonfly_totalcounter代理没有通过 dragonfly 的请求次数。
dragonfly_dfdaemon_proxy_request_running_totalmethodcounter当前代理请求总次数。
dragonfly_dfdaemon_proxy_request_bytes_totalmethodcounter所有代理请求的总字节数。
dragonfly_dfdaemon_peer_task_totalcounter任务的总个数。
dragonfly_dfdaemon_peer_task_failed_totaltypecounter失败任务的总个数。
dragonfly_dfdaemon_piece_task_totalcounter分片的总个数。
dragonfly_dfdaemon_piece_task_failed_totalcounter失败的分片总个数。
dragonfly_dfdaemon_file_task_totalcounter文件类型任务总个数。
dragonfly_dfdaemon_stream_task_totalcounter流式类型任务总个数。
dragonfly_dfdaemon_seed_peer_download_totalcounter作为 Seed Peer 下载总次数。
dragonfly_dfdaemon_seed_peer_download_failure_totalcounter作为 Seed Peer 下载失败总次数。
dragonfly_dfdaemon_seed_peer_download_traffictypecounter作为 Seed Peer 下载流量。
dragonfly_dfdaemon_seed_peer_concurrent_download_totalgauge作为 Seed Peer 的并行下载个数。
dragonfly_dfdaemon_peer_task_cache_hit_totalcounter命中缓存任务个数。
dragonfly_dfdaemon_prefetch_task_totalcounter预取任务总个数。

Manager

GRPC 数据指标基于 go-grpc-prometheus.

NameLabelsTypeDescription
dragonfly_manager_peer_totalgauge当前活跃的 Peer 总个数。

Scheduler

GRPC 数据指标基于 go-grpc-prometheus.

名字标签类型描述
dragonfly_scheduler_register_peer_task_totaltagcounter注册任务总次数。
dragonfly_scheduler_register_peer_task_failure_totaltagcounter注册任务失败次数。
dragonfly_scheduler_download_totaltagcounter下载任务总次数。
dragonfly_scheduler_download_failure_totaltag, typecounter下载任务失败次数。
dragonfly_scheduler_leave_task_totaltagcounter任务释放总个数。
dragonfly_scheduler_leave_task_failure_totaltagcounter任务释放失败个数。
dragonfly_scheduler_traffictag, typecounterP2P 流量。
dragonfly_scheduler_peer_host_traffictag, traffic_type, peer_host_uuid, peer_host_ipcounter每个主机的 P2P 流量。
dragonfly_scheduler_peer_task_totaltag, typecounter下载任务总个数。
dragonfly_scheduler_peer_task_download_duration_millisecondstaghistogram任务下载耗时。
dragonfly_scheduler_concurrent_schedule_totalgauge并行调度任务个数。
dragonfly_scheduler_stat_task_totalcounter查询任务总次数。
dragonfly_scheduler_stat_task_failure_totalcounter查询任务失败次数。
dragonfly_scheduler_announce_task_totalcounter声明任务总次数。
dragonfly_scheduler_announce_task_failure_totalcounter声明任务失败次数。