"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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1mZXRjaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wcm9tZXRoZXVzLWV4cG9ydGVyL2RhdGEtZmV0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFFQSx1Q0FHbUI7QUFFWixLQUFLLFVBQVUsY0FBYyxDQUFDLGtCQUFzQztJQUN6RSxzQkFBWTtTQUNULE1BQU0sQ0FBQyxrREFBd0MsQ0FBQztTQUNoRCxHQUFHLENBQUMsa0JBQWtCLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDckMsQ0FBQztBQUpELHdDQUlDIn0=