From df5197fc8e96b5a21a6dedc9e9d50f8cf7ed9ad5 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 13 Aug 2021 11:55:38 +0200 Subject: [PATCH] fix(core): update --- ts/smartmetrics.classes.smartmetrics.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/smartmetrics.classes.smartmetrics.ts b/ts/smartmetrics.classes.smartmetrics.ts index 77d206b..557cf54 100644 --- a/ts/smartmetrics.classes.smartmetrics.ts +++ b/ts/smartmetrics.classes.smartmetrics.ts @@ -26,7 +26,8 @@ export class SmartMetrics { } this.started = true; while (this.started) { - this.logger.log('info', `sending heartbeat for ${this.sourceNameArg}`, { + this.logger.log('info', `sending heartbeat for ${this.sourceNameArg} with metrics`, { + eventType: 'heartbeat', metrics: await this.getMetrics(), }); await plugins.smartdelay.delayFor(60000, null, true);