Skip to content
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
34 changes: 34 additions & 0 deletions schemas/glean/glean/glean.1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,31 @@
"description": "The architecture of the device, (e.g. \"arm\", \"x86\").",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"campaign": {
"description": "The attribution campaign (e.g. 'mozilla-org').",
"type": "string"
},
"content": {
"description": "The attribution content (e.g. 'firefoxview').",
"type": "string"
},
"medium": {
"description": "The attribution medium (e.g. 'organic' for a search engine).",
"type": "string"
},
"source": {
"description": "The attribution source (e.g. 'google-play').",
"type": "string"
},
"term": {
"description": "The attribution term (e.g. 'browser with developer tools for android').",
"type": "string"
}
}
},
"build_date": {
"description": "The date & time the application was built",
"format": "datetime",
Expand All @@ -54,6 +79,15 @@
"description": "The model of the device the application is running on. On Android, this is Build.MODEL, the user-visible marketing name, like \"Pixel 2 XL\". Not set if the device model can't be determined (e.g. on Desktop).",
"type": "string"
},
"distribution": {
"additionalProperties": false,
"properties": {
"name": {
"description": "The distribution name (e.g. 'MozillaOnline').",
"type": "string"
}
}
},
"first_run_date": {
"description": "The date of the first run of the application.",
"format": "datetime",
Expand Down
2 changes: 2 additions & 0 deletions templates/include/glean/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Version 1

- New client_info sections `attribution` and `distribution`, and their fields [Bug 1955428](https://bugzilla.mozilla.org/show_bug.cgi?id=1955428)

- New metric type `labeled_quantity` [Bug 1932210](https://bugzilla.mozilla.org/show_bug.cgi?id=1932210)

- Increase maximum character limit for metric labels from 61 to 71 [Bug 1929078](https://bugzilla.mozilla.org/show_bug.cgi?id=1929078)
Expand Down
34 changes: 34 additions & 0 deletions templates/include/glean/client_info.1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,40 @@
"type": "string",
"format": "datetime",
"description": "The date & time the application was built"
},
"attribution": {
"additionalProperties": false,
"properties": {
"source": {
"type": "string",
"description": "The attribution source (e.g. 'google-play')."
},
"medium": {
"type": "string",
"description": "The attribution medium (e.g. 'organic' for a search engine)."
},
"campaign": {
"type": "string",
"description": "The attribution campaign (e.g. 'mozilla-org')."
},
"term": {
"type": "string",
"description": "The attribution term (e.g. 'browser with developer tools for android')."
},
"content": {
"type": "string",
"description": "The attribution content (e.g. 'firefoxview')."
}
}
},
"distribution": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The distribution name (e.g. 'MozillaOnline')."
}
}
}
},
"required": [
Expand Down