【文件属性】:
文件名称:nginx-log-exporter:一个用于Prometheus指标的Nginx日志导出器
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-04 13:30:35
nginx monitoring grafana prometheus-metrics MonitoringGo
nginx-log-exporter
用于Prometheus指标的Nginx日志解析器导出器。
安装
去获取github.com/songjiayang/nginx-log-exporter
或使用发行
用法
nginx-log-exporter -h
Usage of:
-config.file string
Nginx log exporter configuration file name. (default "config.yml")
-web.listen-address string
Address to listen on for the web
【文件预览】:
nginx-log-exporter-master
----.gitignore(3B)
----go.mod(376B)
----go.sum(3KB)
----main.go(804B)
----README.md(3KB)
----collector()
--------log_collector.go(4KB)
----config()
--------config_test.go(405B)
--------simple.yml(511B)
--------config.go(2KB)
----config.yml(511B)
----test()
--------nginx.log(758B)