diff --git a/lib/swsInterface.js b/lib/swsInterface.js index b5622f0..5b33d03 100644 --- a/lib/swsInterface.js +++ b/lib/swsInterface.js @@ -377,5 +377,10 @@ module.exports = { // Allow get stats as prometheus format getPromStats: function() { return promClient.register.metrics(); + }, + + // Expose promClient to allow for custom metrics by application + getPromClient: function () { + return promClient; } };