摘要: ``` from concurrent.futures import ThreadPoolExecutor import time def task(a1,a2): time.sleep(1) print("{},{}".format(a1, a2,)) if __name__ == '__main__': # 定义线程池 pool = ThreadPoolExecutor(10) for i i 阅读全文
posted @ 2020-03-10 23:30 hurz 阅读(127) 评论(0) 推荐(0) 编辑
摘要: "promethus监控mysql" 一、mysqld_exporter安装 下载页面 https://github.com/prometheus/mysqld_exporter/releases 下载最新版本 https://github.com/prometheus/mysqld_exporte 阅读全文
posted @ 2020-03-10 20:36 hurz 阅读(155) 评论(0) 推荐(0) 编辑
摘要: k8s 部署elasticsearch apm 文档地址 官方文档 https://www.elastic.co/guide/en/apm/index.html 说明 java agent 比需使用 6.5 版本以上的 apm server 说以elasticsearch 和kibana 最好使用6 阅读全文
posted @ 2020-03-10 18:56 hurz 阅读(1686) 评论(0) 推荐(0) 编辑