From 73e6160ccc20c9c924fc8ea412b89bfb49a841bb Mon Sep 17 00:00:00 2001 From: Konstantin Pogorelov Date: Mon, 3 Oct 2016 13:47:47 +0200 Subject: [PATCH] add docs for autoregister, bump version 1.1.7 --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1448d2..b09a556 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index c0db954..1ff01c7 100644 --- a/package.json +++ b/package.json @@ -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": [