nginx-prometheus-exporter:适用于 NGINX 和 NGINX Plus 的 NGINX Prometheus 导出器

时间:2021-08-04 08:17:53
【文件属性】:
文件名称:nginx-prometheus-exporter:适用于 NGINX 和 NGINX Plus 的 NGINX Prometheus 导出器
文件大小:762KB
文件格式:ZIP
更新时间:2021-08-04 08:17:53
Go NGINX 普罗米修斯导出器 NGINX Prometheus 导出器使使用 Prometheus 监控 NGINX 或 NGINX Plus 成为可能。 概述 通过公开了一些指标。 通过和提供了一组更丰富的指标。 NGINX Prometheus 导出器从单个 NGINX 或 NGINX Plus 获取指标,将指标转换为适当的 Prometheus 指标类型,最后通过 HTTP 服务器公开它们以供收集。 入门 在本节中,我们将展示如何为 NGINX 或 NGINX Plus 快速运行 NGINX Prometheus Exporter。 关于 NGINX 入口控制器的说明 如果您想将 NGINX Prometheus 导出器与 for Kubernetes 一起使用,请参阅以获取安装说明。 先决条件 我们假设您已经安装了 Prometheus 和 NGINX 或 NGINX Plus。
【文件预览】:
nginx-prometheus-exporter-master
----.goreleaser.yml(517B)
----client()
--------nginx.go(2KB)
--------nginx_test.go(1KB)
----.gitignore(124B)
----go.mod(207B)
----Makefile(1KB)
----build()
--------Dockerfile(942B)
----CONTRIBUTING.md(3KB)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(10KB)
----CHANGELOG.md(6KB)
----go.sum(45KB)
----.github()
--------PULL_REQUEST_TEMPLATE.md(749B)
--------release-drafter.yml(2KB)
--------ISSUE_TEMPLATE()
--------workflows()
--------dependabot.yml(430B)
----exporter_test.go(5KB)
----README.md(20KB)
----collector()
--------nginx.go(3KB)
--------nginx_plus.go(45KB)
--------helper.go(840B)
--------helper_test.go(885B)
----grafana()
--------dashboard.json(16KB)
--------README.md(2KB)
--------dashboard.png(817KB)
----.golangci.yml(1KB)
----exporter.go(15KB)

网友评论