摘要:
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 阅读全文
摘要:
1.安装: 如果有elk单独用户,切换到该用户下, wget下载,进入到es安装目录,执行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安装 阅读全文
摘要:
1.prometheus的配置 - job_name: 'java01' #按照这个来分组 scrape_interval: 10s static_configs: - targets: ['192.168.1.44:6060'] labels: instance: jvm44 2. jmx-exp 阅读全文
摘要:
1.ls -lar|sort -k 5n 阅读全文
摘要:
1.通过journalctl看日志 journalctl -xeu kubelet > a参考:https://www.cnblogs.com/ericnie/p/7749588.html2.istio 安装与bookinfo示例运行 https://www.cnblogs.com/caozhiyu 阅读全文
摘要:
1.vim /etc/systemd/system/alertmanager.service [Unit] Description=Alertmanager After=network-online.target [Service] Restart=on-failure ExecStart=/usr 阅读全文
摘要:
1.实验的架构 2.k8s 集群外的Prometheus的配置文件 [root@do1cloud03 prometheus]# cat prometheus.yml |egrep -v '#' global: alerting: alertmanagers: - static_configs: - 阅读全文
摘要:
1.只保留1天的日志 journalctl --vacuum-time=1d 参考:https://blog.csdn.net/ithomer/article/details/90634579 阅读全文
摘要:
0.好的参考文档 https://www.cnblogs.com/longcnblogs/p/9620733.html 1.多维度数据 3. Prometheus会将所有采集到的样本数据以时间序列(time-series)的方式 time-series是按照时间戳和值的序列顺序存放的,我们称之为向量 阅读全文
摘要:
1.agent_setup_pro.sh: no such file or directory 2.参考:https://bk.tencent.com/s-mart/community/question/204 3. 4.修改180s超时-->在节点管理那里修改成3600 阅读全文