mysql-exporter redis-exporter

Unit

Description=mysqld_exporter

Service

ExecStart=/data/mysqld_exporter/mysqld_exporter --config.my-cnf /etc/mysqlexporter.cnf --web.listen-address=0.0.0.0:9104 \

--collect.slave_status \

--collect.binlog_size \

--collect.info_schema.processlist \

--collect.info_schema.innodb_metrics \

--collect.engine_innodb_status \

--collect.perf_schema.file_events \

--collect.perf_schema.replication_group_member_stats

Restart=on-failure

Install

WantedBy=multi-user.target

redis:

Unit

Description=Redis Exporter

After=network.target

Service

ExecStart=/usr/local/redis_exporter/redis_exporter -redis.addr=localhost:6381,localhost:6382 -redis.password=xxxxxx -web.listen-address=:9121

Restart=on-failure

Install

WantedBy=multi-user.target

相关推荐
多多*31 分钟前
LUA+Reids实现库存秒杀预扣减 记录流水 以及自己的思考
linux·开发语言·redis·python·bootstrap·lua
success_a2 小时前
大故障:阿里云核心域名爆炸了
数据库·阿里云·云计算
@小红花4 小时前
MySQL数据库从0到1
数据库·mysql·oracle
[听得时光枕水眠]5 小时前
MySQL基础(三)DQL(Data Query Language,数据查询语言)
数据库·mysql·oracle
我科绝伦(Huanhuan Zhou)5 小时前
深入解析Oracle SQL调优健康检查工具(SQLHC):从原理到实战优化
数据库·sql·oracle
陈阿土i8 小时前
SpringAI 1.0.0 正式版——利用Redis存储会话(ChatMemory)
java·redis·ai·springai
bing_1588 小时前
跨多个微服务使用 Redis 共享数据时,如何管理数据一致性?
redis·微服务·mybatis
一只叫煤球的猫8 小时前
MySQL 8.0 SQL优化黑科技,面试官都不一定知道!
后端·sql·mysql
寒山李白8 小时前
MySQL安装与配置详细讲解
数据库·mysql·配置安装