UNPKG

pandora-metrics

Version:
18 lines 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Indicator_1 = require("../../indicator/Indicator"); const domain_1 = require("../../domain"); class CommandIndicator extends Indicator_1.Indicator { constructor() { super(...arguments); this.group = 'command'; } async invoke(data, builder) { builder.withDetail('a.b.c.d', { appName: this.getAppName(), appDir: this.environment.get('appDir'), }, domain_1.IndicatorScope.APP); } } exports.CommandIndicator = CommandIndicator; //# sourceMappingURL=CommandIndicator.js.map