上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 70 下一页
摘要: 1. run JMX exporter as a java agent with all the four daemons. For this I have added EXTRA_JAVA_OPTS in hadoop-env.sh and yarn-env.sh : [root@cloud01 阅读全文
posted @ 2019-10-10 13:58 littlevigra 阅读(3317) 评论(1) 推荐(0) 编辑
摘要: 1.安装: 如果有elk单独用户,切换到该用户下, wget下载,进入到es安装目录,执行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安装 阅读全文
posted @ 2019-10-09 10:57 littlevigra 阅读(1005) 评论(2) 推荐(0) 编辑
摘要: 1.prometheus的配置 - job_name: 'java01' #按照这个来分组 scrape_interval: 10s static_configs: - targets: ['192.168.1.44:6060'] labels: instance: jvm44 2. jmx-exp 阅读全文
posted @ 2019-10-08 18:09 littlevigra 阅读(2120) 评论(2) 推荐(0) 编辑
摘要: 1.ls -lar|sort -k 5n 阅读全文
posted @ 2019-10-08 17:59 littlevigra 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 1.通过journalctl看日志 journalctl -xeu kubelet > a参考:https://www.cnblogs.com/ericnie/p/7749588.html2.istio 安装与bookinfo示例运行 https://www.cnblogs.com/caozhiyu 阅读全文
posted @ 2019-09-29 10:21 littlevigra 阅读(2195) 评论(0) 推荐(0) 编辑
摘要: 1.vim /etc/systemd/system/alertmanager.service [Unit] Description=Alertmanager After=network-online.target [Service] Restart=on-failure ExecStart=/usr 阅读全文
posted @ 2019-09-27 15:01 littlevigra 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 1.实验的架构 2.k8s 集群外的Prometheus的配置文件 [root@do1cloud03 prometheus]# cat prometheus.yml |egrep -v '#' global: alerting: alertmanagers: - static_configs: - 阅读全文
posted @ 2019-09-27 13:43 littlevigra 阅读(312) 评论(4) 推荐(0) 编辑
摘要: 1.只保留1天的日志 journalctl --vacuum-time=1d 参考:https://blog.csdn.net/ithomer/article/details/90634579 阅读全文
posted @ 2019-09-25 17:33 littlevigra 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: 0.好的参考文档 https://www.cnblogs.com/longcnblogs/p/9620733.html 1.多维度数据 3. Prometheus会将所有采集到的样本数据以时间序列(time-series)的方式 time-series是按照时间戳和值的序列顺序存放的,我们称之为向量 阅读全文
posted @ 2019-09-25 11:17 littlevigra 阅读(2375) 评论(1) 推荐(0) 编辑
摘要: 1.agent_setup_pro.sh: no such file or directory 2.参考:https://bk.tencent.com/s-mart/community/question/204 3. 4.修改180s超时-->在节点管理那里修改成3600 阅读全文
posted @ 2019-09-24 16:32 littlevigra 阅读(918) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 70 下一页