"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.collectMetrics = void 0;
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);
}
exports.collectMetrics = collectMetrics;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1mZXRjaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wcm9tZXRoZXVzLWV4cG9ydGVyL2RhdGEtZmV0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFFQSx1Q0FHbUI7QUFFWixLQUFLLFVBQVUsY0FBYyxDQUNsQyxrQkFBc0M7SUFFdEMsc0JBQVk7U0FDVCxNQUFNLENBQUMsa0RBQXdDLENBQUM7U0FDaEQsR0FBRyxDQUFDLGtCQUFrQixDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQ3JDLENBQUM7QUFORCx3Q0FNQyJ9