Teuthology Prometheus 导出器

为了使确定实验室状态更加容易,我们创建了一个 Prometheus 导出器(方便地命名为 teuthology-exporter)。我们使用 Grafana 来可视化我们收集的数据。

它在端口 61764 上侦听,默认情况下每 60 秒抓取一次。

暴露的指标

名称

类型

描述

标签

beanstalk_queue_length

Gauge

beanstalkd 队列中的作业数量

机器类型

beanstalk_queue_paused

Gauge

beanstalkd 队列是否已暂停

机器类型

teuthology_dispatchers

Gauge

正在运行的 teuthology-dispatcher 实例数量

机器类型

teuthology_job_processes

Gauge

正在运行的作业 进程 数量

teuthology_job_results_total

Gauge

已完成的作业数量

状态(通过/失败/死亡)

teuthology_nodes

Gauge

测试节点的数量

up, locked

teuthology_job_duration_seconds

总结

运行作业所花费的时间

套件

teuthology_task_duration_seconds

总结

每个任务的每个阶段运行所花费的时间

名称,阶段(进入/退出)

teuthology_bootstrap_duration_seconds

总结

运行 teuthology 的引导脚本所花费的时间

teuthology_node_locking_duration_seconds

总结

锁定节点所花费的时间

机器类型,数量

teuthology_node_reimaging_duration_seconds

总结

重新映像节点所花费的时间

机器类型,数量