通过golang编写并发程序监控系统中文件大小并通过prometheus告警
摘要:
package main import ( "fmt" "io/ioutil" "os" "path/filepath" "sync" ) const ( maxFileSize int64 = 10 * 1024 * 1024 metricsName string = "node_filesyst 阅读全文
posted @ 2023-02-20 17:50 裤裆内隐藏杀气 阅读(116) 评论(0) 推荐(0) 编辑