Skip to content

Commit

Permalink
add docs for autoregister, bump version 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
disjunction committed Oct 3, 2016
1 parent 6cfd752 commit 73e6160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion 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": [
Expand Down

0 comments on commit 73e6160

Please sign in to comment.