UNPKG

nestjs-hot-shots

Version:
18 lines (17 loc) 444 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseCollector = void 0; class BaseCollector { constructor(statsd, name, options = { tags: {} }) { this.statsd = statsd; this.name = name; this.options = options; } getMergedTags(tags) { return { ...this.options.tags, ...(tags || {}) }; } } exports.BaseCollector = BaseCollector;