Skip to content

Commit 57ed376

Browse files
Update README with N+ license metrics (#1222)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5d10673 commit 57ed376

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ NGINX Prometheus exporter makes it possible to monitor NGINX or NGINX Plus using
4848
- [Stream Connections Limiting](#stream-connections-limiting)
4949
- [Cache](#cache)
5050
- [Worker](#worker)
51+
- [License](#license)
5152
- [Troubleshooting](#troubleshooting)
5253
- [Releases](#releases)
5354
- [Docker images](#docker-images)
@@ -66,7 +67,7 @@ NGINX Prometheus exporter makes it possible to monitor NGINX or NGINX Plus using
6667
- [Contacts](#contacts)
6768
- [Contributing](#contributing)
6869
- [Support](#support)
69-
- [License](#license)
70+
- [License](#license-1)
7071

7172
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
7273

@@ -432,6 +433,15 @@ Flags:
432433
| `nginxplus_worker_http_requests_total` | Counter | The total number of client requests received | `id`, `pid` |
433434
| `nginxplus_worker_http_requests_current` | Gauge | The current number of client requests that are currently being processed | `id`, `pid` |
434435

436+
#### [License](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_license_object)
437+
438+
| Name | Type | Description | Labels |
439+
| --------------------------------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------- | ------ |
440+
| `nginxplus_license_expiration_timestamp_seconds` | Gauge | License expiration date (expressed as Unix Epoch Time) | [] |
441+
| `nginxplus_license_reporting_fails_count` | Gauge | Number of failed reporting attempts, reset each time the usage report is successfully sent | [] |
442+
| `nginxplus_license_reporting_grace_period_seconds` | Gauge | Number of seconds before traffic processing is stopped after unsuccessful report attempt | [] |
443+
| `nginxplus_license_reporting_healthy` | Gauge | Indicates whether the reporting state is still considered healthy despite recent failed attempts | [] |
444+
435445
Connect to the `/metrics` page of the running exporter to see the complete list of metrics along with their
436446
descriptions. Note: to see server zones related metrics you must configure [status
437447
zones](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone) and to see upstream related metrics you

0 commit comments

Comments
 (0)