From 5c37d08a8a7214e5e2663e4e7c219b5b3a9a87f4 Mon Sep 17 00:00:00 2001 From: Francois Blanchette Date: Wed, 22 Nov 2023 14:41:43 -0500 Subject: [PATCH] [PINAX-337] bumped to v0.0.14 --- package-lock.json | 4 ++-- package.json | 2 +- src/victoria_metrics.ts | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7aa5324..a92b699 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "substreams-sink-victoria-metrics", - "version": "0.0.13", + "version": "0.0.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "substreams-sink-victoria-metrics", - "version": "0.0.13", + "version": "0.0.14", "license": "MIT OR Apache-2.0", "dependencies": { "@substreams/core": "^0.7.0", diff --git a/package.json b/package.json index 616159e..aa5ceea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "substreams-sink-victoria-metrics", - "version": "0.0.13", + "version": "0.0.14", "description": "Substreams VictoriaMetrics sink module", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/victoria_metrics.ts b/src/victoria_metrics.ts index 7cf1711..c0b82c0 100644 --- a/src/victoria_metrics.ts +++ b/src/victoria_metrics.ts @@ -11,8 +11,6 @@ export function appendEpoch(metrics: string, epoch: number) { } export async function handleImport(url: string, scrapeInterval: number, clock: any) { - logger.info("handleImport") - if (!clock.timestamp) return; // no timestamp (yet const epoch = clock.timestamp.toDate().valueOf(); if (epoch / 1000 % scrapeInterval != 0) return; // only handle epoch intervals