telemetry-ios icon indicating copy to clipboard operation
telemetry-ios copied to clipboard

Focus sends duplicate event pings

Open st3fan opened this issue 7 years ago • 2 comments

On backgrounding Focus 3.8, I see the following requests being made:

   POST https://incoming.telemetry.mozilla.org/submit/telemetry/E2EC17B2-0D3B-42A8-BB3F-37C38E97D65C/core/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 215ms
>> POST https://incoming.telemetry.mozilla.org/submit/telemetry/C3FC0E9B-4374-4BE6-900B-FDDC485A849D/focus-event/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 132ms
   POST https://incoming.telemetry.mozilla.org/submit/telemetry/C3FC0E9B-4374-4BE6-900B-FDDC485A849D/focus-event/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 170ms

The last two requests have the same content:

Host:             incoming.telemetry.mozilla.org
Content-Type:     application/json; charset=utf-8
Connection:       keep-alive
Accept:           */*
User-Agent:       Telemetry/1.0 (iOS)
Accept-Language:  en-ca
Accept-Encoding:  gzip, deflate
Content-Length:   664

{
    "clientId": "46D8DE2B-9E41-406E-954D-F3C75B64E519",
    "created": 1507126885961,
    "events": [
        [
            645081,
            "action",
            "foreground",
            "app"
        ],
        [
            650959,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            657472,
            "action",
            "click",
            "erase_button"
        ],
        [
            666259,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            677043,
            "action",
            "click",
            "erase_button"
        ],
        [
            680328,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            683635,
            "action",
            "click",
            "erase_button"
        ],
        [
            688146,
            "action",
            "background",
            "app",
            null,
            {
                "orientation": "Portrait"
            }
        ]
    ],
    "locale": "en-CA",
    "os": "iOS",
    "osversion": "10.3.3",
    "seq": 11,
    "settings": {
        "BlockAds": "true",
        "BlockAnalytics": "true",
        "BlockFonts": "false",
        "BlockOther": "false",
        "BlockSocial": "true",
        "prefKeyEngine": "Google"
    },
    "tz": -240,
    "v": 1
}

st3fan avatar Oct 04 '17 14:10 st3fan

So should this be a Focus iOS issue or is it a Telemetry issue? Hopefully the latter and Focus gets a free fix. Also who will work on this?

Sdaswani avatar Oct 04 '17 17:10 Sdaswani

My guess is telemetry lib. I don't see this on the dev branch. My hope was that we would show the latest dev version working well in today's beta, but someone hooked it up wrong (me). Tomorrow's beta should demonstrate this.

garvankeeley avatar Oct 04 '17 19:10 garvankeeley