diff --git a/docs/http/http-installation-guide.md b/docs/http/http-installation-guide.md index 8484bfd..a954542 100644 --- a/docs/http/http-installation-guide.md +++ b/docs/http/http-installation-guide.md @@ -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/
diff --git a/docs/http/prometheus.conf b/docs/http/prometheus.conf index 15f53c9..ad1204e 100644 --- a/docs/http/prometheus.conf +++ b/docs/http/prometheus.conf @@ -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; }