UNPKG

screwdriver-api

Version:

API server for the Screwdriver.cd service

17 lines (14 loc) 390 B
'use strict'; const { createPlugin } = require('@promster/hapi'); /** * Hapi interface for plugin to collect the metrics in the hapi-server * @method register * @param {Hapi.Server} server * @param {Object} options * @param {Function} next */ module.exports = { name: 'prompster', plugin: createPlugin({ options: { metricPrefix: 'sd_' } }), options: {} };