diff --git a/src/sink.ts b/src/sink.ts index 2367941..569b4dd 100644 --- a/src/sink.ts +++ b/src/sink.ts @@ -8,7 +8,7 @@ export interface Sink { export class StdOutSink implements Sink { async send(metrics: Metrics): Promise { metrics.forEach(metric => { - console.log(`${metric.name} ${metric.value}`); // TODO better print + console.log('%s\t%s\t%O\t%s', metric.name, metric.type.toUpperCase(), metric.metadata, metric.value); }); } }