"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.collectMetrics = collectMetrics;
const metrics_1 = require("./metrics");
async function collectMetrics(totalPluginImports) {
    metrics_1.totalTxCount
        .labels(metrics_1.K_CACTUS_API_SERVER_TOTAL_PLUGIN_IMPORTS)
        .set(totalPluginImports.counter);
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1mZXRjaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wcm9tZXRoZXVzLWV4cG9ydGVyL2RhdGEtZmV0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQU9BLHdDQU1DO0FBWEQsdUNBR21CO0FBRVosS0FBSyxVQUFVLGNBQWMsQ0FDbEMsa0JBQXNDO0lBRXRDLHNCQUFZO1NBQ1QsTUFBTSxDQUFDLGtEQUF3QyxDQUFDO1NBQ2hELEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUNyQyxDQUFDIn0=