@mozilla/glean
Advanced tools
Changelog
v0.27.0 (2021-11-22)
debug
option from Glean configuration option.
Glean.setDebugViewTag
, Glean.setSourceTags
and Glean.setLogPings
should be used instead. Note that these APIs can safely be called prior to initialization.Changelog
v0.26.0 (2021-11-19)
.venv
.
VIRTUAL_ENV
environment variable.VIRTUAL_ENV
environment variable is already set by Python. See: https://docs.python.org/3/library/venv.html.Glean.setUploadEnabled
API.Changelog
v0.24.0 (2021-11-04)
@mozilla/glean/web
entry point for using Glean.js in websites.PlatformInfo
module for the web platform.
os
, os_version
, architecture
and locale
, on the web platform, we can only retrieve os
and locale
information. The other information will default to the known value Unknown
for all pings coming from this platform.@mozilla/glean/web
entry point for using Glean.js in websites.uploadEnabled
state always has a value.
uploadEnabled
was set to false
and then Glean was restarted with it still false
, the internal uploadEnabled
state was not being set. That should not cause particularly harmful behavior, since undefined
is still a "falsy" value. However, this would create a stream of loud and annoying log messages.Storage
module for the web platform.Changelog
v0.23.0 (2021-10-12)
test*
functions in "test mode".
Glean.testResetGlean
API called.ErrorType
. This is only useful for testing purposes;QtQuick.LocalStorage
plugin;shutdown
method. Previous to this fix, it is not possible to use the shutdown
method;Glean.testRestGlean
API.architecture
and osVersion
as initialization parameters in Qt. In Qt these values are not easily available from the environment.Changelog
v0.22.0 (2021-10-06)
app_channel
metric.
Changelog
v0.19.0 (2021-09-03)
glean.restarted
) will be included in the events payload of pings, in case there
was a restart in the middle of the ping measurement window.Uploader
base class through @mozilla/glean/<platform>/uploader
entry point.