摘要:
1. 好的参考文档:prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter/blob/master/CON 阅读全文
摘要:
1. /usr/local/tengine/conf/conf.d [root@slave1 conf.d]# cat myserver.conf server { listen 80; client_max_body_size 4G; server_name example.com 129.211 阅读全文
摘要:
1.HTTP连接最显著的特点是客户端发送的每次请求都需要服务器回送响应,在请求结束后,会主动释放连接。 从建立连接到关闭连接的过程称为“一次连接”。 2.在Nginx配置7层代理等存在大量短连接的场景下,阿里云推荐您将TIME-WAIT超时时间修改为5s。运行以下任一命令修改超时时间: TCP/IP 阅读全文
摘要:
1. Web Analytics Dashboard for NGINX Required NGINX json log format configuration below. https://grafana.com/grafana/dashboards/12559 log_format json_ 阅读全文
摘要:
1.根据http://xxxx.com/nginx_status/ 统计 参考:https://www.oschina.net/code/snippet_226718_17879 #/bin/bash 2 3 #nginx_status_url 手动配置项 4 NGINX_STATUS_URL="h 阅读全文
摘要:
1. nginx的配置 location /jenkinsno { index index.html index.htm; proxy_pass http://127.0.0.1:8081; proxy_connect_timeout 3000s; proxy_send_timeout 3000s; 阅读全文
摘要:
1.脚本的路径 2.代码路径 3.自动生成的Jenkinsfile creating-a-pipeline-in-blue-ocean/Jenkinsfile pipeline { agent { docker { image 'node:6-alpine' args '-p 3000:3000' 阅读全文
摘要:
1.mail As an example of loading variable values from Groovy: mail to: 'devops@acme.com', subject: "Job '${JOB_NAME}' (${BUILD_NUMBER}) is waiting for 阅读全文
摘要:
1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd 阅读全文
摘要:
1. asyncio import time import asyncio # func called as one task async def worker_1(time_sleep): print('worker_1 had been called') await asyncio.sleep( 阅读全文