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