add docs for autoregister, bump version 1.1.7

This commit is contained in:
Konstantin Pogorelov
2016-10-03 13:47:47 +02:00
parent 6cfd7523e7
commit 73e6160ccc
2 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ See the example below.
* **whitelist**, **blacklist**: array of strings or regexp specifying which metrics to include/exclude
* **buckets**: buckets used for `http_request_seconds` histogram
* **excludeRoutes**: array of strings or regexp specifying which routes should be skipped for `http_request_seconds` metric. It uses `req.path` as subject when checking
* **autoregister**: boolean. If `/metrics` endpoint should be registered. It is **true** by default
## Example

View File

@@ -1,6 +1,6 @@
{
"name": "express-prom-bundle",
"version": "1.1.6",
"version": "1.1.7",
"description": "express middleware with popular prometheus metrics in one bundle",
"main": "src/index.js",
"keywords": [