258 Commits

Author SHA1 Message Date
Konstantin Pogorelov
b0928b1b94 make template name consistent with httpDurationMetricName, fix typo in variable name 2017-09-23 12:18:00 +02:00
Konstantin Pogorelov
26f9f5ca10 add customLabels and transformLabels to advanced example 2017-09-23 12:13:14 +02:00
Konstantin Pogorelov
a261ab76a3 split includeCustomLabels into customLabels and transformLabels 2017-09-23 12:03:23 +02:00
Konstantin Pogorelov
8318e0ec1d fix typo 2017-09-23 11:49:13 +02:00
Konstantin Pogorelov
d58b434f0a fix codestyle 2017-09-23 11:35:30 +02:00
Eric Uldall
47fd051aba added customLabels feature to main() 2017-09-22 15:21:32 -07:00
Konstantin Pogorelov
313673f16f inc minor version, update README 2017-07-11 13:21:06 +02:00
Jonathan Creamer
bbd62e34d6 Upgrade prom-client... again (#9)
* Update package.json

* Update call to Histogram

* Update package.json

* Update index.js

* Update index.js
2017-07-11 11:41:40 +02:00
Konstantin Pogorelov
b8ba87009e extend unittests, simplify API, update README, use npm5 and package-lock.json, add node7 to travis config 3.0.0 2017-06-04 16:31:26 +02:00
Konstantin Pogorelov
1cc588c2da stop supporting node v4 and v5 2017-05-31 16:32:45 +02:00
Konstantin Pogorelov
5b1517ca91 #7 upgrade dependencies, workaround for koa-connect, update docs 2017-05-31 15:27:08 +02:00
Konstantin Pogorelov
5b1aa494cb version 2.2.0 - normalizeStatus draft 2.2.0 2017-03-28 17:14:33 +02:00
The Experimentalist
65549a769b Merge pull request #4 from PauloPaquielli/feature/normalizeStatusCode 2017-03-28 17:08:57 +02:00
Paulo Duarte
de83ac09a0 Remove if unnecessary 2017-03-27 17:35:13 -03:00
Paulo Duarte
52865dfb02 Back version to prom-client 2017-03-27 17:17:59 -03:00
Paulo Duarte
5c6ed64a31 Fix lint error 2017-03-27 17:16:51 -03:00
Paulo Duarte
d8c6492163 Implement test 2017-03-27 12:03:53 -03:00
Paulo Duarte
c92b85ae96 Update prom-client 2017-03-24 11:08:29 -03:00
Paulo Duarte
48f8b992fd Make normalizeStatusCode generic 2017-03-24 02:18:41 -03:00
Paulo Duarte
61e4343a8c Implements group in status code metrics 2017-03-23 14:12:29 -03:00
Konstantin Pogorelov
7b89690d3b add missing spaces to readme 2.1.0 2017-01-19 17:17:08 +01:00
Konstantin Pogorelov
40db5cacbd Merge branch 'master' of github.com:jochen-schweizer/express-prom-bundle
Conflicts:
	README.md
	package.json
2017-01-19 16:54:58 +01:00
Konstantin Pogorelov
43334b923f deprecate excludeRoutes, use originalUrl when matching own /metrics path, readme adjustments, version 2.1.0 2017-01-19 16:52:15 +01:00
Konstantin Pogorelov
20eb668e36 export and make replaceable normalizePath(), fix/extend readme, version 2.0.2 2017-01-04 23:41:09 +01:00
Konstantin Pogorelov
53c4505378 fix typo in the readme 2016-12-11 20:41:40 +01:00
Konstantin Pogorelov
b0aa05d42b fixes, polishing, docs update, bump to 2.0.0 2.0.0 2016-12-11 20:22:55 +01:00
Konstantin Pogorelov
1e9300ebf3 niterim state for 2.0 development 2016-12-08 18:13:13 +01:00
Konstantin Pogorelov
190bf0be31 When trying to register a second instance with the same name, then just take the old one. Upgrade prom-client to 6.2.x. Bump 1.2.3 1.2.3 2016-12-06 10:10:14 +01:00
Konstantin Pogorelov
c918b44c2b minor dep. upgrade, do not remove initial metrics if they match the requested prefix (i.e. recognized as own metrics), bump 1.2.2 2016-12-01 00:28:45 +01:00
Konstantin Pogorelov
b374e7f54c fix includePath in combination with router 1.2.1 2016-11-28 11:28:05 +01:00
Konstantin Pogorelov
08d98b450c upgrade prom-client to v6, add options: includeMethod, includePath, keepDefaultMetrics, bump 1.2.0 2016-11-26 21:00:58 +01:00
Konstantin Pogorelov
3675c516a9 upgrade jasme, cosmetics/whitespace fixes 1.1.8 2016-10-14 15:07:39 +02:00
Konstantin Pogorelov
42197ac478 Merge pull request #2 from daniyel/koa-compatibility
Add compatibility with Koa v1, fix tests and edit README
2016-10-14 14:50:29 +02:00
Danijel Hrvacanin
66e1fca8dd Add compatibility with Koa v1, fix tests and edit README 2016-10-14 14:32:39 +02:00
Konstantin Pogorelov
36c40daa5d Merge branch 'master' of github.com:jochen-schweizer/express-prom-bundle 2016-10-10 13:51:24 +02:00
Konstantin Pogorelov
8beadcb434 add npm badge 2016-10-10 13:50:50 +02:00
Konstantin Pogorelov
73e6160ccc add docs for autoregister, bump version 1.1.7 1.1.7 2016-10-03 13:47:47 +02:00
Konstantin Pogorelov
6cfd7523e7 fix typo 2016-10-03 13:46:40 +02:00
Konstantin Pogorelov
57087d3525 Merge pull request #1 from nwtse/master
Add possibility to manipulate /metrics endpoint registration
2016-10-03 13:40:17 +02:00
Mateusz Odelga
86e3dfdb33 Add possibility to manipulate /metrics endpoint registration e.g. to use another expressjs instance. 2016-10-03 13:12:58 +02:00
Konstantin Pogorelov
f69502c2ba add excludeRoutes option 1.1.6 1.1.5 2016-08-17 14:29:26 +02:00
Konstantin Pogorelov
a191b08a55 bump 1.1.5 2016-08-10 16:39:55 +02:00
Konstantin Pogorelov
bf031e5283 update README regarding app.use order 2016-08-10 16:38:09 +02:00
Konstantin Pogorelov
dab8b956a8 fix link in readme 1.1.4 2016-07-28 02:14:12 +02:00
Konstantin Pogorelov
06727dfe5f update deps, fix sumary factory method, add buckets param, extend unit tests, add coverage 2016-07-28 02:09:27 +02:00
Konstantin Pogorelov
3b6453090e add app.use to usage snippet 1.1.3 2016-04-29 10:45:50 +02:00
Konstantin Pogorelov
fefee43fbe minor readme changes, travis bump 2016-04-29 10:39:31 +02:00
Konstantin Pogorelov
51ce2a00f3 update travis ci link 2016-04-29 10:34:54 +02:00
Konstantin Pogorelov
1b90db39ee add repository, use MIT license 2016-04-29 10:32:08 +02:00
Konstantin Pogorelov
32e99187f3 add .npmrc to gitignore 2016-04-21 11:47:29 +02:00