Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions docs/http/http-installation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,28 @@ Note: If you choose a different Application to test with, `the NGINX configurati

This can be any standard Linux OS system, based on the Linux Distro and Technical Specs required for NGINX Plus, which can be found here: https://docs.nginx.com/nginx/technical-specs/

1. This Solution followed the `Installation of NGINX Plus on Centos/Redhat/Oracle` steps for installing NGINX Plus.
1. This Solution followed the `Installation of NGINX Plus on Centos/Redhat/Oracle` steps for installing NGINX Plus.

https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/

>NOTE: This Solution will only work with NGINX Plus, as NGINX OpenSource does not have the API that is used in this Solution. Installation on unsupported Linux Distros is not recommended.

1. Install the NGINX Javascript module (njs). This is required for exporting Prometheus Metrics from NGINX Plus.
If you need a license for NGINX Plus, a 30-day Trial license is available here:

https://www.nginx.com/free-trial-request/

1. Install the NGINX Javascript module (njs). This is required for exporting Prometheus Metrics from NGINX Plus.

```bash
yum install nginx-plus-module-njs
```

1. If you need a license for NGINX Plus, a 30-day Trial license is available here:
1. Install Nginx Javascript for Prometheus

```bash
yum install nginx-plus-module-prometheus
```

https://www.nginx.com/free-trial-request/

<br/>

Expand Down
3 changes: 3 additions & 0 deletions docs/http/prometheus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
js_import /usr/share/nginx-plus-module-prometheus/prometheus.js;

server {
listen 9113:
status_zone prometheus;

location = /metrics {
js_content prometheus.metrics;
}
Expand Down