Windshaft-cartodb/metro/index.js
2020-06-08 20:16:00 +02:00

12 lines
271 B
JavaScript

'use strict';
const split = require('split2');
const logCollector = require('./log-collector');
const metricsCollector = require('./metrics-collector');
process.stdin
.pipe(split())
.pipe(logCollector())
.pipe(metricsCollector())
.pipe(process.stdout);