-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Malformed userAgent in telemetry events #4328
Comments
Good catch @camilleanne. I'll fix this. |
Initial inspection seems to indicate a regression due to #4263 and specifically b372bb2d823a397fbfa98317d8c581de93063065. |
Also appears to be related to #2816 and 94c5c2e. /cc @tobrun |
Added an explicit |
Merged and cherry picked! /cc @jfirebaugh |
@bleege While the
The fix in d33cee7 works around the issue, it doesn't solve the real issue of having a malformed user agent. When you cal initialise on a Singleton it should always produce the same outcome. |
…nitial state before prepending app meta data to it
Good catch @tobrun! I've just added a state check to |
…nitial state before prepending app meta data to it
…nitial state before prepending app meta data to it
Merged to /cc @jfirebaugh |
Seeing events come into staging that look like:
{"event":"appUserTurnstile","created":"2016-03-14T20:46:23.676Z","userId":"{userId}","enabled.telemetry":true,"received":"2016-03-14T20:46:24.359Z","token":"{token}","owner":"bleege","authorization":"{auth}","userAgent":"Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 Mapbox GL/4.0.0/8 MapboxEventsAndroid/4.0.0-SNAPSHOT","version":2,"createdOffset":"+0100"}
cc @bleege
The text was updated successfully, but these errors were encountered: