1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/lib/routes/index.js
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

18 lines
519 B
JavaScript

'use strict';
exports.createAPI = function (router, config) {
require('./event')(router, config);
require('./feature')(router, config);
require('./feature-archive')(router, config);
require('./strategy')(router, config);
require('./health-check')(router, config);
require('./metrics')(router, config);
};
exports.createLegacy = function (router, config) {
require('./feature')(router, config);
require('./health-check')(router, config);
require('./backstage')(router, config);
};