Closed Bug 1551157 Opened 6 years ago Closed 6 years ago

Implement the `glean.baseline.duration` field (a timespan)

Categories

(Data Platform and Tools :: Glean: SDK, task, P1)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dexter, Assigned: janerik)

References

Details

(Whiteboard: [telemetry:glean-rs:m5])

Currently, glean-core doesn't implement the Datetime metric type yet. For this reason, dates in the baseline ping are filled with smoke values. We should check that this is the only missing type and implement it.

Whiteboard: [telemetry:glean-rs:m5]
Priority: -- → P3
Depends on: 1556964
Depends on: 1556966

Sequence numbers and start/stop time were implemented.
That leaves us with the glean.baseline.duration field, which is a timespan.

Depends on: 1552863
Type: defect → task
No longer depends on: 1556964, 1556966
Summary: Implement the `baseline` ping fields that are currently mocked → Implement the `glean.baseline.duration` field (a timespan)

This should just start working once the timespan implementation is merged. I'll keep track of that.

Assignee: nobody → jrediger
Priority: P3 → P1

We have a baseline!

I  glean_core: {
I    "client_info": {
I      "android_sdk_version": "28",
I      "app_build": "1",
I      "app_display_version": "1.0",
I      "architecture": "x86",
I      "client_id": "e5139ee7-fe8a-46c8-b6a4-5f6841646948",
I      "device_manufacturer": "Google",
I      "device_model": "Android SDK built for x86",
I      "first_run_date": "2019-07-04+02:00",
I      "os": "Android",
I      "os_version": "9",
I      "telemetry_sdk_build": "0.1.0"
I    },
I    "metrics": {
I      "boolean": {
I        "test.is_started": true
I      },
I      "counter": {
I        "test.test_counter": 2
I      },
I      "string": {
I        "glean.baseline.locale": "en-US"
I      },
I      "timespan": {
I        "glean.baseline.duration": {
I          "time_unit": "second",
I          "value": 2
I        }
I      }
I    },
I    "ping_info": {
I      "end_time": "2019-07-04T18:06+02:00",
I      "ping_type": "baseline",
I      "seq": 17,
I      "start_time": "2019-07-04T18:06+02:00"
I    }
I  }

We might have also submitted that:

glean/HttpPingUploader  D  Submitting ping to: https://incoming.telemetry.mozilla.org/submit/org-mozilla-samples-gleancore/baseline/1/8cf06496-b118-4028-9d13-a56abc8cbe5c
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.