Commit Graph

11 Commits

Author SHA1 Message Date
sveisvei 375a8b1d4f Prettier/lint 2020-02-20 08:30:50 +01:00
sveisvei 6e4a22bf54 use object.assign and pass along options 2020-02-20 08:30:50 +01:00
sveisvei fa6c28de8f pass along hooks, add test to server impl 2020-02-20 08:30:50 +01:00
Simen Bekkhus 21e0522116 Remove uncaught exception logging
This is the responsibility of the app
2020-02-20 08:30:48 +01:00
sveisvei f425597640 fix lint 2020-02-20 08:30:41 +01:00
ivaosthu d4d63af2b0 Option to disable request logging.
Because all request details are available via
prometheus there is no need to also log all requests.

This solves #164 but we should still replace log4j with something else.
2020-02-20 08:30:41 +01:00
ivaosthu 7057d11553 replace commander with yargs 2020-02-20 08:30:41 +01:00
ivaosthu 8e6bcafa24 Server Metrics: add response time and status codes 2020-02-20 08:30:40 +01:00
ivaosthu b8014fdddf Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.

read more at https://prometheus.io/

Closes #98
2020-02-20 08:30:40 +01:00
sveisvei 68ac0c71c9 fix typ0 2020-02-20 08:30:39 +01:00
sveisvei 1dab39f0f9 move app and server-impl into lib folder 2020-02-20 08:30:39 +01:00