lunimous 可以开启 dashborad rgw 通过 prometheus-nginxlog-exporter 可以解析 Nginx 日志,还有一些正则可以去处理,然后通过relabel的配置,让其在指标数据上打上标签。 civetweb 没有在日志记录请求返回的时间,所以考虑用 Nginx 来替换,为了能给 Ceph RGW 加一个请求相关的监控,所以需要去解析日志,在 prometheus-nginx...
$ docker run --name nginx-exporter -v logs:/mnt/nginxlogs -p 4040:4040 quay.io/martinhelmich/prometheus-nginxlog-exporter mnt/nginxlogs/access.log Command-line flags and arguments can simply be appended to thedocker runcommand, for example to use a configuration file: ...
51CTO博客已为您找到关于prometheus-nginxlog-exporter的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及prometheus-nginxlog-exporter问答内容。更多prometheus-nginxlog-exporter相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
湖畔/nginx-log-exporter 代码Issues0Pull Requests0Wiki统计流水线 服务 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
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 interface and API. (default ":9999") exit status 2
JSON log_format Frequently Asked Questions Credits Usage You can either use a simple configuration, using command-line flags, or create a configuration file with a more advanced configuration. Use the command-line: ```sh $./prometheus-nginxlog-exporter\ ...
JSON log_format Frequently Asked Questions Credits Usage You can either use a simple configuration, using command-line flags, or create a configuration file with a more advanced configuration. Use the command-line: $ ./prometheus-nginxlog-exporter \ -format="<FORMAT>" \ -listen-port=4040 \ ...
$ ./prometheus-nginxlog-exporter -config-file /path/to/config.hcl You can verify your config file before deployment, which will exit with shell status indicating success: $ ./prometheus-nginxlog-exporter -config-file /path/to/config.hcl -verify-config ...