Make NoMore404s Telemetry data available in re:dash

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
2 years ago
a year ago

People

(Reporter: clouserw, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
+++ This bug was initially created as a clone of Bug #1270595 +++

NoMore404s is using Telemetry through Test Pilot (using the testpilottest type).  
The testpilottype takes an undefined payload which needs to be defined by each test.  For NoMore404s, that payload is:

{
  "test": "Wayback Machine",         // The name of the add-on
  "agent": "User Agent String",
  "payload": {
    "action": "viewed",              
    "archive_available": true
  }
}

And a schema:

local schema = {
--   column name                   field type   length  attributes   field name
    {"timestamp",                  "TIMESTAMP", nil,    "SORTKEY",   "Timestamp"},
    {"uuid",                       "VARCHAR",   36,      nil,         get_uuid},

    {"test",                       "VARCHAR",   255,     nil,         "Fields[test]"},

    -- Parsed automatically from the `agent` field
    {"user_agent_browser",         "VARCHAR",   255,     nil,         "Fields[user_agent_browser]"},
    {"user_agent_os",              "VARCHAR",   255,     nil,         "Fields[user_agent_os]"},
    {"user_agent_version",         "VARCHAR",   255,     nil,         "Fields[user_agent_version]"},

    {"action",                     "VARCHAR",   255,     nil,         "payload[action]"},
    {"archive_available",          "VARCHAR",   255,     nil,         "payload[archive_available]"}
}

Let us know if there is anything else needed.  Thanks!


Test Pilot metrics docs: https://github.com/mozilla/testpilot/blob/master/docs/README-METRICS.md

NoMore404s metrics docs:  https://github.com/internetarchive/FirefoxNoMore404s/blob/master/docs/metrics.md
(Reporter)

Comment 1

a year ago
this graduated
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.