![]() ($SSL_CLIENT_CERT) -nginx.ssl-client-key="" Path to the PEM encoded client certificate key file to use when connecting to the server. ($SSL_CA_CERT) -nginx.ssl-client-cert="" Path to the PEM encoded client certificate file to use when connecting to the server. ($SSL_VERIFY) -nginx.ssl-ca-cert="" Path to the PEM encoded CA certificate file used to validate the servers SSL certificate. nginx.ssl-verify Perform SSL certificate verification. For NGINX, the stub_status page must be available through the URI. A URI or unix domain socket path for scraping NGINX or NGINX Plus metrics. By default, the exporter is started for NGINX. ($TELEMETRY_PATH) us Start the exporter for NGINX Plus. ![]() See: -web.telemetry-path="/metrics" Path under which to expose metrics. ="" Path to configuration file that can enable TLS or authentication. Addresses on which to expose metrics and web interface. Usage: nginx-prometheus-exporter Flags: -h, -help Show context-sensitive help (also try -help-long and -help-man). To start the exporter we use the docker run command. Running the Exporter in a Docker Container Note that the default scrape port of theĮxporter is 9113 and the default metrics path - /metrics. Configure Prometheus to scrape metrics from the server with the exporter.For NGINX Plus, expose the API at /api on port.Expose the built-in metrics in NGINX/NGINX Plus:.We assume that you have already installed Prometheus and NGINX or NGINX Plus. If you’d like to use the NGINX Prometheus Exporter with NGINX Ingress In this section, we show how to quickly run NGINX Prometheus Exporter for NGINX or NGINX Plus. Metrics from a single NGINX or NGINX Plus, converts the metrics into appropriate Prometheus metrics types and finallyĮxposes them via an HTTP server to be collected by Prometheus. Plus provides a richer set of metrics via theĭashboard. NGINX exposes a handful of metrics via the stub_status NGINX Prometheus exporter makes it possible to monitor NGINX or NGINX Plus using Prometheus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |