Options
All
  • Public
  • Public/Protected
  • All
Menu

Module index/qt

Index

Properties

Properties

default: { ErrorType: typeof ErrorType; _private: { BooleanMetricType: typeof default; CounterMetricType: typeof default; DatetimeMetricType: typeof default; EventMetricType: typeof default; LabeledMetricType: typeof default; PingType: typeof default; QuantityMetricType: typeof default; RateMetricType: typeof default; StringListMetricType: typeof default; StringMetricType: typeof default; TextMetricType: typeof default; TimespanMetricType: typeof default; URLMetricType: typeof default; UUIDMetricType: typeof default }; testResetGlean: (applicationId: string, uploadEnabled?: boolean, config?: ConfigurationInterface, clearStores?: boolean) => Promise<void>; initialize: any; setDebugViewTag: any; setLogPings: any; setSourceTags: any; setUploadEnabled: any; shutdown: any }

Type declaration

  • ErrorType: typeof ErrorType
  • _private: { BooleanMetricType: typeof default; CounterMetricType: typeof default; DatetimeMetricType: typeof default; EventMetricType: typeof default; LabeledMetricType: typeof default; PingType: typeof default; QuantityMetricType: typeof default; RateMetricType: typeof default; StringListMetricType: typeof default; StringMetricType: typeof default; TextMetricType: typeof default; TimespanMetricType: typeof default; URLMetricType: typeof default; UUIDMetricType: typeof default }
  • testResetGlean: (applicationId: string, uploadEnabled?: boolean, config?: ConfigurationInterface, clearStores?: boolean) => Promise<void>
      • (applicationId: string, uploadEnabled?: boolean, config?: ConfigurationInterface, clearStores?: boolean): Promise<void>
      • Test-only API

        Resets the Glean singleton to its initial state and re-initializes it.

        Note: There is no way to only allow this function to be called in test mode, because this is the function that puts Glean in test mode by setting Context.testing to true.

        Parameters

        • applicationId: string

          The application ID (will be sanitized during initialization).

        • uploadEnabled: boolean = true

          Determines whether telemetry is enabled. If disabled, all persisted metrics, events and queued pings (except first_run_date) are cleared. Default to true.

        • Optional config: ConfigurationInterface

          Glean configuration options.

        • clearStores: boolean = true

          Whether or not to clear the events, metrics and pings databases on reset.

        Returns Promise<void>

  • initialize:function
  • setDebugViewTag:function
    • setDebugViewTag(value: string): void
  • setLogPings:function
    • setLogPings(flag: boolean): void
  • setSourceTags:function
    • setSourceTags(value: string[]): void
  • setUploadEnabled:function
    • setUploadEnabled(flag: boolean): void
  • shutdown:function
    • shutdown(): Promise<void>

Generated using TypeDoc