promethues监控postgres,emqx,redis

一、监控postgres

1、安装监控

bash 复制代码
docker pull wrouesnel/postgres_exporter

2、执行

bash 复制代码
docker run -d -p 9187:9187 --name postgres_exporter --net=host -d -e DATA_SOURCE_NAME="postgresql://postgres:[email protected]:5432/rcc-manage?sslmode=disable" wrouesnel/postgres_exporter

二、监控emqx:

直接在prometheus.yml中监控

bash 复制代码
 - job_name: emqx
    metrics_path: /api/v5/prometheus/stats
    static_configs:
      - targets: ['192.168.11.88:28084']

三、监控redis

1、docker pull oliver006/redis_exporter

2、运行:docker run -d --name redis_exporter -p 9121:9121 oliver006/redis_exporter

3、自动启动:docker update --restart=always redis_exporter

相关推荐
卑微的Coder2 小时前
JMeter同步定时器 模拟多用户并发访问场景
java·jmeter·压力测试
乐言3611 天前
Jmeter中的BeanShell如何使用?
python·jmeter·压力测试
Feng.Lee4 天前
聊一聊接口的压力测试如何进行的?
人工智能·功能测试·压力测试·可用性测试
小二·5 天前
使用Jmeter对AI模型服务进行压力测试
jmeter·压力测试·可用性测试
coding侠客5 天前
使用Jmeter进行核心API压力测试
java·jmeter·apache·压力测试
A137857517906 天前
电机试验平台:功能架构与关键技术介绍
压力测试
哦吼!9 天前
测试——BUG篇
压力测试
Riseandshinexx13 天前
8、HTTPD服务--ab压力测试
linux·压力测试
郑文博Coding14 天前
windows系统 压力测试技术
windows·压力测试
喜欢吃豆14 天前
大模型api压力测试
服务器·数据库·人工智能·python·prompt·压力测试