-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add capability to override telemetry URL #27023
Add capability to override telemetry URL #27023
Comments
What would be the best practice to allow this field to be changed based on build types? The default URL is specified here, https://mozilla.github.io/glean/book/reference/general/initializing.html#gleaninitializeconfiguration |
This sounds like something we could add to secret settings. |
We can surface Since it's set during app initialization, it'll have to be a flag that is set after the first run so the new serverUrl is set in the UI and then the next app restart will use the newly set URL. That might affect QA's ability to test first run glean events or Nimbus experiments. Does that work @jrbenny35 ? We can find alternatives to solving this, but it'll require some new work to add the ability to do similar things to GeckoView with reading a config file during first init. |
You're saying the way you proposed will affect QA's ability to run first run testing? Or if they set the URL, it would affect their ability since they have to do the restart. |
It will affect QA ability to run first-run testing. 👍 To rephrase: if we want to set the |
I think that is a good solution for now until we can get something into GeckView like you mentioned earlier. Thanks @jonalmeida |
Just to clarify, I didn't mean put something into GeckoView, but rather doing something like this configuration file. We can work on the serverUrlOverride in that case for now. |
As agreed with @jrbenny35. This will only be supported on Nightly and debug builds. |
Hi Delia, I don't think this needs to be added to your usual verifications, as this was something that will help automate some testing within Fenix, and potentially help some of the softvision folks to get telemetry a little easier. |
Great, thank you. I will close this ticket and remove the QA needed label then. |
Reopen as request from @jrbenny35 to add local properties as another way of injecting the custom Glean server URL. |
…using local properties
…using local properties
Hey folks, can I get a better understanding of why this is needed? @jrbenny35 , @rocketsroger or @jonalmeida What is/are the current workflow for which sending telemetry to a custom endpoint is needed? Thanks! |
Hi Alessio, this specifically was for me wanting to create automation around testing a local nimbus server and getting the app to read from it. @rocketsroger has implemented a solution for setting a custom telemetry URL. This change will potentially help our QA folks to specify a nimbus server and to be able to test experiments from it, without having to rebuild the app. Also, sorry for the late reply |
@jrbenny35 thanks for the clarification! Let us know if there's something we can do to make your / QA life easier. |
…telemetry URL using local properties
What is the user problem or growth opportunity you want to see solved?
Collecting telemetry from Fenix now is a bit involved to do locally. The steps are outlined here. Allowing for a URL to be specified to send telemetry too, would help simplify this use case.
How do you know that this problem exists today? Why is this important?
This isn't necessarily a problem but more of an enhancement to aid in testing/QA work.
Who will benefit from it?
Softvision QA Team, Nimbus Engineering Team
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: