将 Nginx 访问日志文件中的指标导出到 Prometheus
= NGINX 到 Prometheus 日志文件导出器 :tip-caption: :bulb: :note-caption: :information_source: :important-caption: :heavy_exclamation_mark: :caution-caption: :fire: :warning-caption: :warning: :toc: :toc-placement!: :toc-title: 图像:https://img.shields.io/github/workflow/status/martin-helmich/prometheus-nginxlog-exporter/Compile%20&%20Test[GitHub 工作流状态 图像:Quay 上的 https://quay.io/repository/martinhelmich/prometheus-nginxlog-exporter/status[link="https://quay.io/repository/martinhelmich/prometheus-nginxlog-exporter",Docker 仓库 图片:https://goreportcard.com/badge/github.com/martin-helmich/prometheus-nginxlog-exporter[link="https://goreportcard.com/report/github.com/martin-helmich/prometheus-nginxlog-exporter", 转到成绩单] 图片:https://img.shields.io/github/license/martin-helmich/prometheus-nginxlog-exporter[GitHub] 图片:https://img.shields.io/badge/donate-PayPal-yellow[link="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SEARYHPVS9U5N&source=url", 请捐款] 这是一个辅助工具,它持续读取 NGINX 日志文件(或任何类似的日志文件),并将指标导出到 https://prometheus.io/[Prometheus]。 == 目录 toc::[] == 使用方法 您可以使用简单的配置,使用命令行标志,或者创建 一个配置文件,包含更先进的配置。 使用命令行:
有多种方法可以安装此导出器。 === Docker 此出口器的 Docker 图像可在 quay.io 和 pkg.GitHub.com 上获取 注册表:
quay.io/martinhelmich/prometheus-nginxlog-exporter:v1ghcr.io/martin-helmich/prometheus-nginxlog-exporter/exporter:v1请查看 https://github.com/martin-helmich
[discrete] [source] [PATHS-TO-LOGFILES...] [source] [source]
暂无开放 Issues,或尚未同步最近议题。