Loading

摘要: 环境 CentOS 8 官方文档 https://grafana.com/docs/grafana/latest/installation/rpm/ 1. 安装 sudo nano /etc/yum.repos.d/grafana.repo 写入配置 [grafana] name=grafana b 阅读全文
posted @ 2022-04-02 14:58 晓晨Master 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 官方文档 https://prometheus.io/docs/introduction/first_steps/ 中文文档 https://prometheus.fuckcloudnative.io/di-yi-zhang-jie-shao/overview 安装文档:https://promet 阅读全文
posted @ 2022-04-02 14:13 晓晨Master 阅读(420) 评论(0) 推荐(0) 编辑
摘要: Prometheus 的 go sdk 是由官方提供的,地址:https://github.com/prometheus/client_golang ,里面包含了生成 prometheus metrics、http handler、prometheus client 的功能。 安装: go get 阅读全文
posted @ 2022-04-02 11:26 晓晨Master 阅读(3622) 评论(0) 推荐(0) 编辑
摘要: 使用命令 ,指定版本号即可 go get github.com/xxx/xxx@1.0.0 如果使用的模块项目没有发布新的版本,那么可以使用 git commit SHA go get github.com/xxx/xxx@29e8191aff2174cb56888658b4afd6a7940a9b 阅读全文
posted @ 2022-04-02 11:20 晓晨Master 阅读(834) 评论(0) 推荐(0) 编辑