Unverified Commit 92545d91 authored by Will Binns-Smith's avatar Will Binns-Smith Committed by GitHub

Devlow snowflake backend: use milliseconds instead of seconds for event time (#72490)

parent 1208c000
...@@ -39,9 +39,8 @@ export default function createInterface({ ...@@ -39,9 +39,8 @@ export default function createInterface({
const records: DevlowMetric[] = [] const records: DevlowMetric[] = []
const iface: Interface = { const iface: Interface = {
measurement: async (scenario, props, name, value, unit, relativeTo) => { measurement: async (scenario, props, name, value, unit, relativeTo) => {
const ts = Math.round(Date.now() / 1000);
records.push({ records.push({
event_time: ts, event_time: Date.now(),
scenario, scenario,
props, props,
metric: name, metric: name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment