摘要:
这里监控了一个访问端点/ping次数 package main import ( "regexp" "github.com/gin-gonic/gin" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/c 阅读全文
摘要:
目标: 自己编写监控指标(记录页面点击次数),然后在granfa中展示 1. 编写exporter package main import ( "fmt" "net/http" "github.com/prometheus/client_golang/prometheus" "github.com/ 阅读全文