Skip to content

Commit f9ec412

Browse files
author
gudvyach
committed
Add slab metrics description to README
1 parent 10075fe commit f9ec412

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,17 @@ Flags:
432432
| `nginxplus_worker_http_requests_total` | Counter | The total number of client requests received | `id`, `pid` |
433433
| `nginxplus_worker_http_requests_current` | Gauge | The current number of client requests that are currently being processed | `id`, `pid` |
434434

435+
### [Slabs](https://nginx.org/en/docs/http/ngx_http_api_module.html#slabs_)
436+
437+
| Name | Type | Description | Labels |
438+
| ---------------------------------------- | ------- | ------------------------------------------------------------------------------- | -------------- |
439+
| `nginxplus_slab_fails` | Gauge | Total number of unsuccessful attempts to allocate memory of specified size | `slot`, `zone` |
440+
| `nginxplus_slab_reqs` | Gauge | Total number of attempts to allocate memory of specified size | `slot`, `zone` |
441+
| `nginxplus_slab_free` | Gauge | Current number of free memory slots | `slot`, `zone` |
442+
| `nginxplus_slab_used` | Gauge | Current number of used memory slots | `slot`, `zone` |
443+
| `nginxplus_slab_pages_free` | Gauge | Current number of free memory pages | `zone` |
444+
| `nginxplus_slab_pages_used` | Gauge | Current number of used memory pages | `zone` |
445+
435446
Connect to the `/metrics` page of the running exporter to see the complete list of metrics along with their
436447
descriptions. Note: to see server zones related metrics you must configure [status
437448
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)