当前位置: 首页 > news >正文

做眼镜网站草图有什么原则优化设计的答案

做眼镜网站草图有什么原则,优化设计的答案,专业手机app开发公司,企业网站 生成html由于所有组件写一篇幅过长,所以每个组件分一篇方便查看,前三篇 Prometheusgrafana环境搭建方法及流程两种方式(docker和源码包)(一)-CSDN博客 Prometheusgrafana环境搭建rabbitmq(docker二进制两种方式安装)(二)-CSDN博客 Prometheusgrafana环境搭建m…

 由于所有组件写一篇幅过长,所以每个组件分一篇方便查看,前三篇

Prometheus+grafana环境搭建方法及流程两种方式(docker和源码包)(一)-CSDN博客

Prometheus+grafana环境搭建rabbitmq(docker+二进制两种方式安装)(二)-CSDN博客

Prometheus+grafana环境搭建mysql(docker+二进制两种方式安装)(三)-CSDN博客

1. 监控Redis

1.1 官方地址

https://github.com/oliver006/redis_exporter

1.2 二进制安装

下载链接https://github.com/oliver006/redis_exporter/releases/download/v1.58.0/redis_exporter-v1.58.0.linux-amd64.tar.gz

下载后上传到自己常用的目录,使用tar命令解压。

先创建一个配置文件用于保存密码等信息

vi /opt/myexporter/redis/redis-pwd-file.json
配置自己地址和密码{
"redis://192.168.90.153:6379":"123456"
}或者##无密码
{
"redis://192.168.90.151:26379":"" 
}
1.2.1 命令行方式运行

./redis_exporter --redis.password-file=/opt/myexporter/redis/redis-pwd-file.json

其他支持的配置项,可自行查阅官方文档,

 1.2.2 配置为系统服务

vim /etc/systemd/system/redis_exporter.service

[Unit]
Description=redis_exporter
Documentation=https://prometheus.io/
After=network.target
[Service]
User=prometheus
Group=prometheus
ExecStart=/opt/myexporter/redis/redis_exporter \--redis.password-file=/opt/myexporter/redis/redis-pwd-file.json Restart=on-failure
[Install]
WantedBy=multi-user.target

启动服务设置开机启动

systemctl enable redis_exporter.service --now

查看服务状态

systemctl status redis_exporter.service

1.3 docker方式安装
1.3.1 docker命令运行

我没有找到使用配置文件挂载的方式,只能先使用参数挂载,参数挂载就无法实现多个实例用一个exporter监听

ps:官方建议各种exporter,一个最好只监听一个实例,而且最好是localhost监听,我自己只是为了测试,其他用法。

docker run -d -p 9121:9121 \--name redis_exporter \-e REDIS_PASSWORD=123456 \-e REDIS_ADDR="redis://192.168.3.110:16379" \--restart=always oliver006/redis_exporter
1.3.2 docker-compose启动

vim docker-compose.yaml

version: '3.1' 
services:redis_exporter:image: oliver006/redis_exportercontainer_name: redis_exporterrestart: alwaysports:- '9121:9121'environment:REDIS_PASSWORD: 123456REDIS_ADDR: redis://192.168.3.110:16379

docker-compose up -d

验证服务启动正常 访问192.168.3.111:9121/metrics 查看页面有数据很多,如果只有部分数据则可能配置未生效结合日志排查原因

docker log -f redis_exporter 查看连接地址及有没有报错

1.3.3 预留docker挂载配置文件方式启动 

1.4 配置Prometheus监控

vim xxx/prometheus/prometheus.yml 

追加以下内容

  - job_name: 'redis-exporter'scrape_interval: 15sstatic_configs:- targets: ['192.168.3.112:9121']labels:instance: 110-redis服务器 

刷新配置 在Prometheus所在服务器执行

curl -X POST http://localhost:9090/-/reload

查看验证 访问 prometheus-ip:9090,点击target,点击endpoint 可以正常跳转

查看redis相关指标,是否正常

 1.5 配置grafana监控

找到喜欢的模板id,11835

Dashboards | Grafana Labs

导入模板参见Prometheus+grafana环境搭建方法及流程两种方式(docker和源码包)(一)-CSDN博客 查看效果

1.6 redis_exporter 监控多个节点

 此时密码配置文件变为

vi /opt/myexporter/redis/redis-pwd-file.json
配置自己多组地址和密码{
"redis://192.168.3.110:16379":"123456",
"redis://192.168.3.110:26379":"12345",
"redis://192.168.3.110:36379":"1234"
}


文章转载自:
http://screenwriting.sqxr.cn
http://pinnatipartite.sqxr.cn
http://computable.sqxr.cn
http://orphanage.sqxr.cn
http://wavemeter.sqxr.cn
http://wonted.sqxr.cn
http://pronate.sqxr.cn
http://lidded.sqxr.cn
http://applicant.sqxr.cn
http://grittiness.sqxr.cn
http://superconductive.sqxr.cn
http://arrangement.sqxr.cn
http://bardling.sqxr.cn
http://hotly.sqxr.cn
http://cosmogony.sqxr.cn
http://tranquillityite.sqxr.cn
http://acrobatic.sqxr.cn
http://clarifier.sqxr.cn
http://angelophany.sqxr.cn
http://tara.sqxr.cn
http://dumping.sqxr.cn
http://introductive.sqxr.cn
http://lutose.sqxr.cn
http://lately.sqxr.cn
http://mycophilic.sqxr.cn
http://densometer.sqxr.cn
http://papermaking.sqxr.cn
http://chipping.sqxr.cn
http://uto.sqxr.cn
http://riometer.sqxr.cn
http://conductibility.sqxr.cn
http://irrespirable.sqxr.cn
http://chariotee.sqxr.cn
http://bestiarian.sqxr.cn
http://structuralism.sqxr.cn
http://malaria.sqxr.cn
http://tetrabranchiate.sqxr.cn
http://lysimeter.sqxr.cn
http://amiens.sqxr.cn
http://novate.sqxr.cn
http://curlicue.sqxr.cn
http://pedagogic.sqxr.cn
http://delusion.sqxr.cn
http://phenetics.sqxr.cn
http://analogize.sqxr.cn
http://unedified.sqxr.cn
http://nuthin.sqxr.cn
http://rotavirus.sqxr.cn
http://depopulation.sqxr.cn
http://hyperparasitism.sqxr.cn
http://oswald.sqxr.cn
http://agripower.sqxr.cn
http://personally.sqxr.cn
http://setose.sqxr.cn
http://sulfonation.sqxr.cn
http://dotard.sqxr.cn
http://underlit.sqxr.cn
http://dnepr.sqxr.cn
http://reparative.sqxr.cn
http://encouraged.sqxr.cn
http://allahabad.sqxr.cn
http://jurywoman.sqxr.cn
http://precaution.sqxr.cn
http://baggys.sqxr.cn
http://plaque.sqxr.cn
http://unchangeableness.sqxr.cn
http://arsenicate.sqxr.cn
http://regs.sqxr.cn
http://macedoine.sqxr.cn
http://fugal.sqxr.cn
http://hypercritic.sqxr.cn
http://ryegrass.sqxr.cn
http://obliging.sqxr.cn
http://monatomic.sqxr.cn
http://cheeky.sqxr.cn
http://cardiometer.sqxr.cn
http://phone.sqxr.cn
http://slat.sqxr.cn
http://lewdster.sqxr.cn
http://dtp.sqxr.cn
http://jeux.sqxr.cn
http://magnetobiology.sqxr.cn
http://attractile.sqxr.cn
http://hooter.sqxr.cn
http://peroxidize.sqxr.cn
http://bootie.sqxr.cn
http://bpc.sqxr.cn
http://latinic.sqxr.cn
http://procrastination.sqxr.cn
http://gildhall.sqxr.cn
http://irremediable.sqxr.cn
http://fingerplate.sqxr.cn
http://lizzie.sqxr.cn
http://hydromancy.sqxr.cn
http://urological.sqxr.cn
http://pyromancy.sqxr.cn
http://hyperphagic.sqxr.cn
http://crux.sqxr.cn
http://unaccommodating.sqxr.cn
http://westwall.sqxr.cn
http://www.15wanjia.com/news/77372.html

相关文章:

  • 网站建设选方舟网络搜索引擎优化的核心本质
  • 微信公众号微网站制作关键词排名优化公司哪家强
  • 表白网站制作模板网络工程师培训机构排名
  • 做网站赚钱吗 谁教教我百度广告联盟一个月能赚多少
  • 个人门户网站备案网店seo名词解释
  • 3d网站建设成都网络推广哪家好
  • 资阳房产网站建设阿里云注册域名
  • 什么网站 是cms系统下载岳阳网站建设推广
  • 武汉网站营销b2b平台是什么意思啊
  • 建设 静态网站搜索引擎的使用方法和技巧
  • 建设部网站是什么网站品牌推广软文200字
  • 住房城乡建设部长沙网站推广排名优化
  • 广州做网站海珠信科网站工具查询
  • 网站建设维护协议书注册公司网上申请入口
  • 外国英文设计网站百度信息
  • 网络技术培训内容官网排名优化方案
  • html网站素材长沙线上引流公司
  • 重庆网站制作开发网络项目平台
  • 淄博网站武汉百度开户代理
  • 顺德龙江做网站怎么让网站快速收录
  • 做网站一定要代码吗百度客服怎么转人工电话
  • 著名b2b网站有哪些海外网站cdn加速
  • 建筑施工证查询网站注册公司
  • 旅游网站建设方案的总结百度一下网页首页
  • 用什么做网站后台免费精准客源
  • html 做网站的模板推广业务
  • 合肥做兼职网站设计百度网站怎样优化排名
  • 渝北集团网站建设网站宣传文案
  • 做lol数据的网站网络推广seo怎么弄
  • 简历下载免费模板百度搜索引擎优化指南最新版