Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Upgrade Glean to v29.1.0 #6936

Merged
merged 2 commits into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object Versions {

const val mozilla_appservices = "0.58.2"

const val mozilla_glean = "28.0.0"
const val mozilla_glean = "29.1.0"

const val material = "1.1.0"
const val nearby = "17.0.0"
Expand Down
1 change: 1 addition & 0 deletions components/browser/engine-gecko-beta/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# sure the correct code is generated even though the GeckoView AAR file
# reports an empty metrics.yaml file. The metric in this file is currently
# disabled and not supposed to collect any data.
---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

Expand Down
1 change: 1 addition & 0 deletions components/browser/engine-gecko-nightly/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# sure the correct code is generated even though the GeckoView AAR file
# reports an empty metrics.yaml file. The metric in this file is currently
# disabled and not supposed to collect any data.
---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

Expand Down
1 change: 1 addition & 0 deletions components/browser/engine-gecko/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# sure the correct code is generated even though the GeckoView AAR file
# reports an empty metrics.yaml file. The metric in this file is currently
# disabled and not supposed to collect any data.
---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

Expand Down
11 changes: 7 additions & 4 deletions components/lib/crash/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@
# This file defines the metrics that are recorded by glean telemetry. They are
# automatically converted to Kotlin code at build time using the `glean_parser`
# PyPI package.
---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

crash_metrics:
crash_count:
type: labeled_counter
description: >
Counts the number of crashes that occur in the application. This measures only the counts of
each crash in association with the labeled type of the crash. The labels correspond to the
types of crashes handled by lib-crash.
Counts the number of crashes that occur in the application.
This measures only the counts of each crash in association
with the labeled type of the crash.
The labels correspond to the types of crashes handled by lib-crash.

Deprecated: `native_code_crash` replaced by `fatal_native_code_crash` and `nonfatal_native_code_crash`
Deprecated: `native_code_crash` replaced by `fatal_native_code_crash`
and `nonfatal_native_code_crash`
labels:
- uncaught_exception
- caught_exception
Expand Down
15 changes: 9 additions & 6 deletions components/support/migration/metrics.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

Expand Down Expand Up @@ -124,7 +125,8 @@ migration.history:
migrated:
type: labeled_counter
description: >
Counters describing how history migration went; should add-up to 'migration.history.detected'.
Counters describing how history migration went;
should add-up to 'migration.history.detected'.
labels:
- succeeded
- failed
Expand Down Expand Up @@ -229,18 +231,19 @@ migration.bookmarks:
migrated:
type: labeled_counter
description: >
Counters describing how bookmark migration went; should add-up to 'migration.bookmarks.detected'.
Counters describing how bookmark migration went;
should add-up to 'migration.bookmarks.detected'.
labels:
- succeeded
- failed
send_in_pings:
- migration
- migration
bugs:
- https://github.com/mozilla-mobile/fenix/issues/5888
- https://github.com/mozilla-mobile/fenix/issues/5888
data_reviews:
- https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458
- https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458
notification_emails:
- [email protected]
- [email protected]
expires: 2020-10-01
lifetime: ping
detected:
Expand Down
7 changes: 4 additions & 3 deletions components/support/migration/pings.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---

$schema: moz://mozilla.org/schemas/glean/pings/1-0-0

Expand All @@ -9,8 +10,8 @@ migration:
A ping sent after a Fennec->Fenix migration was completed.
include_client_id: true
bugs:
- https://github.com/mozilla-mobile/fenix/issues/5888
- https://github.com/mozilla-mobile/fenix/issues/5888
notification_emails:
- [email protected]
- [email protected]
data_reviews:
- https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458
- https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458
Loading