Provide a way for testing GV metrics that does not require building Fenix
Categories
(Data Platform and Tools :: Glean: SDK, defect, P1)
Tracking
(Not tracked)
People
(Reporter: Dexter, Assigned: Dexter)
Details
(Whiteboard: [telemetry:glean-rs:m10])
Attachments
(3 files)
In order to make sure that metrics collected in Gecko are properly exfiltrated through the Glean SDK, we currently need to do the following:
- change Gecko's metrics.yaml;
- build Gecko View;
- point Android Components to the locally build Gecko View;
- publish A-C to the local Maven repository;
- point Fenix to the local Maven repository;
- build Fenix;
- use the debug activity to trigger a ping or log to logcat.
Unfortunately, we cannot simply make the GeckoView example in mozilla-central do that, because some of the heavy lifting happens in the engine-gecko-* components in A-C.
We should probably create a new sample in A-C that uses both GeckoView and Glean to allow testing it, or change the current sample browser to allow this testing.
| Assignee | ||
Comment 1•6 years ago
|
||
Hey Sebastian,
given comment 0, what would you prefer? Would you be ok in adding the Glean SDK as a dependency to the samples-browser application or should we create a new samples-gv-glean ?
Comment 2•6 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #1)
given comment 0, what would you prefer? Would you be ok in adding the Glean SDK as a dependency to the samples-browser application or should we create a new samples-gv-glean ?
Adding this to sample browser sounds fine to me. Sample browser is primarily our testing application for the engine components. However we added other related components to it because moving them to a separate app may not test them in context or will end up being a "sample browser and X" application.
So as long as this doesn't increase the maintenance burden on the AC team (for example breaking changes that need to be addressed frequently) I think it is totally fine to add this to sample browser.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian; :pocmo) from comment #2)
So as long as this doesn't increase the maintenance burden on the AC team (for example breaking changes that need to be addressed frequently) I think it is totally fine to add this to sample browser.
No, that shouldn't be the case. We only expect to expose basic functionalities there. If any breaking change shows up, we'll take care of that!
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
| Assignee | ||
Comment 7•6 years ago
|
||
Comment 9•6 years ago
|
||
| bugherder | ||
Description
•