摘要:
go学习指南 https://www.bookstack.cn/read/For-learning-Go-Tutorial/README.md Go 的最佳实践 https://dablelv.github.io/go-coding-advice/ 阅读全文
摘要:
https://www.junmajinlong.com/golang/index/https://www.junmajinlong.com/golang/index/ 阅读全文
摘要:
https://blog.51cto.com/u_14205795/4561310 1 增加自定义标签ident,标签值用__address__的ip - job_name: 'label_test' static_configs: - targets: ['192.168.214.151:9100 阅读全文
摘要:
1. 安装迁移工具 pip install sqlite3-to-mysql 2. 准备好mysql数据库 # 创建数据库grafana,创建用户grafana并授权 CREATE DATABASE IF NOT EXISTS grafana DEFAULT CHARSET utf8mb4 COLL 阅读全文
摘要:
yum install skopeo [root@mattermost tmp]# cat /home/ops/mattermost-docker/docker/upload.sh #!/bin/bash cat version.txt | while read line do version=$l 阅读全文
摘要:
https://wiki.eryajf.net/pages/0322lius/#_3-%E5%B0%8F%E7%BB%93 阅读全文
摘要:
1. 创建脚本 cd categraf-v0.2.2-linux-amd64 [root@bogon categraf-v0.2.2-linux-amd64]# vim scripts/echo.sh #!/bin/bash echo "metric_preffix,labelkey1=labelv 阅读全文
摘要:
下载并编译generator go install github.com/prometheus/snmp_exporter/generator@latest cd ${GOPATH-$HOME/go}/src/github.com/prometheus/snmp_exporter/generator 阅读全文
摘要:
https://www.cnblogs.com/kevingrace/p/10482469.html 阅读全文
摘要:
upstream backend { server {ip}:8065; keepalive 32; } proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mattermost_cache:10m max_size=3g inactive= 阅读全文