grafana - 使用 Prometheus 和 Grafana 监控 Scylla db

标签 grafana prometheus scylla

我已经在服务器 A 中安装了 scylla db。

在服务器 B 中安装了 Prometheus 和 Grafana。

使用 节点导出器(在服务器 A 中安装节点导出器)监控 scylla db 服务器资源(CPU、RAM、磁盘性能..)。

需要使用 Prometheus 和 Grafana 监控 scylla db 操作(来自服务器 B)。

服务器 A 需要安装哪些导出器,以及 Grafana 中的 scylla db 监控所需的仪表板

最佳答案

有两种与 ScyllaDB 监控堆栈相关的指标:

a) 内部数据库指标。 ScyllaDB 原生导出 prometheus 指标。因此,您不需要在服务器 A 中运行任何额外的东西来工作。您需要做的就是从监控端指向 scylla_servers.yml 文件中的服务器。

b) Linux 指标(磁盘利用率、网络等)。这就是 node_exporter 的用途。因此,只需确保 node_exporter 正在 ServerA 中运行,并在监控端的 node_exporter_servers.yml 中再次指向该服务器。

当然,在很多情况下,这两者是相同的——只是端口不同(唯一的异常(exception)是在单个 Linux 主机中有多个 ScyllaDB 服务器的容器化环境)。为了快速跟踪这种情况,Scylla Monitoring 提供了一个脚本 genconfig.py,它将生成具有正确端口的 node_exporter_servers.ymlscylla_server.yml只给出运行 Scylla 的服务器的 IP 列表。

关于grafana - 使用 Prometheus 和 Grafana 监控 Scylla db,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48826634/

相关文章:

hadoop - 将Presto添加为Grafana的数据源

counter - Prometheus 查询以获取每天的最新数据(每天的最大时间戳)

variables - 多值Prometheus查询Grafana

database-design - 优化子句查询cassandra?

scylla - 在 Scylla LCS 压缩中配置 sstable 大小

cassandra - ScyllaDB/Cassandra 的复制因子高于 CL=QUORUM 的节点总数

influxdb - DB 文件夹占用大量空间,造成空间问题

kubernetes - 在Kubernetes上使用Prometheus监视Spring Boot Apps,而不设置端点

elasticsearch - 如何在Grafana中使用与时间范围过滤器无关的变量(用于过滤数据的下拉列表)创建Elastic Search仪表板

go - Go 中 Prometheus 的多个端点