• Sets whether upload is enabled or not.

    When uploading is disabled, metrics aren't recorded at all and no data is uploaded.

    When disabling, all pending metrics, events and queued pings are cleared.

    When enabling, the core Glean metrics are recreated.

    If the value of this flag is not actually changed, this is a no-op.

    Parameters

    • flag: boolean

      When true, enable metric collection.

    Returns void

Generated using TypeDoc