import { i18n } from '@osd/i18n' ; /**
 * config options opt into telemetry
 */ export const CONFIG_TELEMETRY = 'telemetry:optIn' ; /**
 * config description for opting into telemetry
 */ export const getConfigTelemetryDesc = ( ) => { return i18n . translate ( 'telemetry.telemetryConfigDescription' , { defaultMessage : 'Help us improve the OpenSearch Stack by providing usage statistics for basic features. We will not share this data outside of Elastic.' , } ) ; } ; /**
 * The amount of time, in milliseconds, to wait between reports when enabled.
 * Currently 24 hours.
 */ export const REPORT_INTERVAL_MS = 86400000 ; /**
 * Key for the localStorage service
 */ export const LOCALSTORAGE_KEY = 'telemetry.data' ; /**
 * Link to Advanced Settings.
 */ export const PATH_TO_ADVANCED_SETTINGS = 'management/opensearch-dashboards/settings' ; /**
 * Link to the OpenSearch Telemetry privacy statement.
 */ export const PRIVACY_STATEMENT_URL = `` ; /**
 * The endpoint version when hitting the remote telemetry service
 */ export const ENDPOINT_VERSION = 'v2' ;