Skip to content

Commit 7746179

Browse files
afoninskyAVVS
authored andcommitted
feat: prometheus (#5)
* chore: add prom client * chore: bump core version, add promc client * chore: update config
1 parent 2080569 commit 7746179

File tree

4 files changed

+731
-769
lines changed

4 files changed

+731
-769
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"jaeger-client": "^3.13.0",
3232
"lodash.merge": "^4.6.1",
3333
"ms-conf": "^3.3.1",
34+
"prom-client": "^11.2.1",
3435
"raven": "^2.6.4",
3536
"stdout-stream": "^1.4.1",
3637
"twilio": "^3.24.0"

src/configuration/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ exports.plugins = [
66
'router',
77
'http',
88
'amqp',
9+
'prometheus',
910
];

src/configuration/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports.router = {
1515
enabled: ['postRequest', 'preRequest', 'preResponse'],
1616
register: [
1717
routerExtension('validate/schemaLessAction'),
18-
routerExtension('audit/log'),
18+
routerExtension('audit/log')(),
1919
],
2020
},
2121
};

0 commit comments

Comments
 (0)