From a5c2037c768fdafc0b6b18b71d36882f8a916660 Mon Sep 17 00:00:00 2001 From: Grigory Kruglov Date: Wed, 21 Jun 2017 14:25:10 -0400 Subject: [PATCH] Bug 1374758 - Add 'when' epoch timestamp to each sync ping r=nalexander Since we bundle multiple pings together for an upload, it really helps to know when each individual ping happened. MozReview-Commit-ID: 2NuHFiNSHFA --HG-- extra : rebase_source : 8600483688a90dc79684a15d837e6181a665ed36 --- .../gecko/telemetry/pingbuilders/TelemetrySyncPingBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilder.java b/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilder.java index b81d228d3e1b..8342ef46075f 100644 --- a/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilder.java +++ b/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilder.java @@ -141,6 +141,7 @@ public class TelemetrySyncPingBuilder extends TelemetryLocalPingBuilder { @Override public TelemetryLocalPing build() { + payload.put("when", System.currentTimeMillis()); return new TelemetryLocalPing(payload, docID); }