The Glean SDKs have a minimal API available on their top-level
Glean object called the General API.
This API allows, among other things, to enable and disable upload, register custom pings and set experiment data.
Glean should only be initialized from the main application, not individual libraries. If you are adding Glean support to a library, you can safely skip this section.
The Glean SDKs provide a general API that supports the following operations. See API reference pages for SDK-specific details.
|Configure and initialize the Glean SDK.||Initializing the Glean SDK|
|Enable or disable Glean collection and upload.||Toggling upload status|
|Register custom pings generated from ||Custom pings|
|Indicate that an experiment is running.||Using the Experiments API|
|Indicate that an experiment is no longer running..||Using the Experiments API|