1 Star 0 Fork 0

zhangjungang/beats

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 606 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steffen Siering 提交于 2016-07-12 15:42 . Simplify Beater interface (#2003)
/*
Package metricbeat contains the entrypoint to Metricbeat which is a lightweight
data shipper for operating system and service metrics. It ships events directly
to Elasticsearch or Logstash. The data can then be visualized in Kibana.
Downloads: https://www.elastic.co/downloads/beats/metricbeat
*/
package main
import (
"os"
"github.com/elastic/beats/metricbeat/beater"
_ "github.com/elastic/beats/metricbeat/include"
"github.com/elastic/beats/libbeat/beat"
)
// Name of this Beat.
var Name = "metricbeat"
func main() {
if err := beat.Run(Name, "", beater.New); err != nil {
os.Exit(1)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangjungang/beats.git
git@gitee.com:zhangjungang/beats.git
zhangjungang
beats
beats
v5.5.0

搜索帮助