UNPKG

nestjs-hot-shots

Version:
13 lines (12 loc) 445 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StatsDProvider = void 0; const hot_shots_1 = require("hot-shots"); const hot_shots_module_definition_1 = require("../hot-shots.module-definition"); exports.StatsDProvider = { provide: hot_shots_1.StatsD, useFactory: options => { return new hot_shots_1.StatsD(options); }, inject: [hot_shots_module_definition_1.MODULE_OPTIONS_TOKEN] };