2 * THIS CODE IS AUTOGENERATED
3 * using `yarn workspace @proton/metrics generate-metrics`
5 * For more information please consult the documentation
6 * https://confluence.protontech.ch/pages/viewpage.action?pageId=121927830
8 import Counter from './lib/Counter';
9 import Histogram from './lib/Histogram';
10 import MetricsBase from './lib/MetricsBase';
11 import type IMetricsRequestService from './lib/types/IMetricsRequestService';
12 import type { HttpsProtonMeDesktopInboxHeartbeatTotalV1SchemaJson } from './types/desktop_inbox_heartbeat_total_v1.schema';
13 import type { HttpsProtonMeDocsAbortedSquashesTotalV1SchemaJson } from './types/docs_aborted_squashes_total_v1.schema';
14 import type { HttpsProtonMeDocsAlertModalTotalV1SchemaJson } from './types/docs_alert_modal_total_v1.schema';
15 import type { HttpsProtonMeDocsCommentsDownloadErrorTotalV1SchemaJson } from './types/docs_comments_download_error_total_v1.schema';
16 import type { HttpsProtonMeDocsCommentsErrorTotalV1SchemaJson } from './types/docs_comments_error_total_v1.schema';
17 import type { HttpsProtonMeDocsCommentsTotalV1SchemaJson } from './types/docs_comments_total_v1.schema';
18 import type { HttpsProtonMeDocsCommitSignatureErrorTotalV1SchemaJson } from './types/docs_commit_signature_error_total_v1.schema';
19 import type { HttpsProtonMeDocsDocumentUpdatesAckErrorTotalV1SchemaJson } from './types/docs_document_updates_ack_error_total_v1.schema';
20 import type { HttpsProtonMeDocsDocumentUpdatesDecryptionErrorTotalV1SchemaJson } from './types/docs_document_updates_decryption_error_total_v1.schema';
21 import type { HttpsProtonMeDocsDocumentUpdatesLoadErrorTotalV1SchemaJson } from './types/docs_document_updates_load_error_total_v1.schema';
22 import type { HttpsProtonMeDocsDocumentUpdatesSaveErrorTotalV1SchemaJson } from './types/docs_document_updates_save_error_total_v1.schema';
23 import type { HttpsProtonMeDocsDocumentUpdatesTotalV1SchemaJson } from './types/docs_document_updates_total_v1.schema';
24 import type { HttpsProtonMeDocsFailedWebsocketConnectionsTotalV1SchemaJson } from './types/docs_failed_websocket_connections_total_v1.schema';
25 import type { HttpsProtonMeDocsOpenDocumentsHeartbeatTotalV1SchemaJson } from './types/docs_open_documents_heartbeat_total_v1.schema';
26 import type { HttpsProtonMeDocsPublicSharingCustomPasswordSuccessRateTotalV1SchemaJson } from './types/docs_public_sharing_custom_password_success_rate_total_v1.schema';
27 import type { HttpsProtonMeDocsReadonlyModeDocumentsTotalV1SchemaJson } from './types/docs_readonly_mode_documents_total_v1.schema';
28 import type { HttpsProtonMeDocsRealtimeDisconnectErrorTotalV1SchemaJson } from './types/docs_realtime_disconnect_error_total_v1.schema';
29 import type { HttpsProtonMeDocsRealtimeEditLatencyHistogramV1SchemaJson } from './types/docs_realtime_edit_latency_histogram_v1.schema';
30 import type { HttpsProtonMeDocsRealtimeEditTimeToAckHistogramV1SchemaJson } from './types/docs_realtime_edit_time_to_ack_histogram_v1.schema';
31 import type { HttpsProtonMeDocsSquashesLatencyHistogramV1SchemaJson } from './types/docs_squashes_latency_histogram_v1.schema';
32 import type { HttpsProtonMeDocsSquashesTotalV1SchemaJson } from './types/docs_squashes_total_v1.schema';
33 import type { HttpsProtonMeDocsSuggestionsCreatedTotalV1SchemaJson } from './types/docs_suggestions_created_total_v1.schema';
34 import type { HttpsProtonMeDocsSuggestionsResolvedTotalV1SchemaJson } from './types/docs_suggestions_resolved_total_v1.schema';
35 import type { HttpsProtonMeDocsTimeLoadDocumentHistogramV1SchemaJson } from './types/docs_time_load_document_histogram_v1.schema';
36 import type { HttpsProtonMeDocsUsersSuccessRateTotalV1SchemaJson } from './types/docs_users_success_rate_total_v1.schema';
37 import type { HttpsProtonMeDriveDownloadErroringUsersTotalV1SchemaJson } from './types/drive_download_erroring_users_total_v1.schema';
38 import type { HttpsProtonMeDriveDownloadErrorsTotalV2SchemaJson } from './types/drive_download_errors_total_v2.schema';
39 import type { HttpsProtonMeDriveDownloadSuccessRateTotalV1SchemaJson } from './types/drive_download_success_rate_total_v1.schema';
40 import type { HttpsProtonMeDriveFilePreviewErrorsTotalV1SchemaJson } from './types/drive_file_preview_errors_total_v1.schema';
41 import type { HttpsProtonMeDriveIntegrityBlockVerificationErrorsTotalV1SchemaJson } from './types/drive_integrity_block_verification_errors_total_v1.schema';
42 import type { HttpsProtonMeDriveIntegrityDecryptionErrorsTotalV1SchemaJson } from './types/drive_integrity_decryption_errors_total_v1.schema';
43 import type { HttpsProtonMeDriveIntegrityErroringUsersTotalV1SchemaJson } from './types/drive_integrity_erroring_users_total_v1.schema';
44 import type { HttpsProtonMeDriveIntegrityVerificationErrorsTotalV1SchemaJson } from './types/drive_integrity_verification_errors_total_v1.schema';
45 import type { HttpsProtonMeDriveSyncErroringUsersTotalV1SchemaJson } from './types/drive_sync_erroring_users_total_v1.schema';
46 import type { HttpsProtonMeDriveSyncErrorsTotalV1SchemaJson } from './types/drive_sync_errors_total_v1.schema';
47 import type { HttpsProtonMeDriveSyncEventTotalV2SchemaJson } from './types/drive_sync_event_total_v2.schema';
48 import type { HttpsProtonMeDriveSyncEventUnecessaryTotalV2SchemaJson } from './types/drive_sync_event_unecessary_total_v2.schema';
49 import type { HttpsProtonMeDriveSyncItemsTotalV1SchemaJson } from './types/drive_sync_items_total_v1.schema';
50 import type { HttpsProtonMeDriveSyncResyncItemsTotalV1SchemaJson } from './types/drive_sync_resync_items_total_v1.schema';
51 import type { HttpsProtonMeDriveSyncResyncTotalV1SchemaJson } from './types/drive_sync_resync_total_v1.schema';
52 import type { HttpsProtonMeDriveUploadErroringUsersTotalV2SchemaJson } from './types/drive_upload_erroring_users_total_v2.schema';
53 import type { HttpsProtonMeDriveUploadErrorsFileSizeHistogramV1SchemaJson } from './types/drive_upload_errors_file_size_histogram_v1.schema';
54 import type { HttpsProtonMeDriveUploadErrorsTotalV2SchemaJson } from './types/drive_upload_errors_total_v2.schema';
55 import type { HttpsProtonMeDriveUploadErrorsTransferSizeHistogramV1SchemaJson } from './types/drive_upload_errors_transfer_size_histogram_v1.schema';
56 import type { HttpsProtonMeDriveUploadSuccessRateTotalV2SchemaJson } from './types/drive_upload_success_rate_total_v2.schema';
57 import type { HttpsProtonMeDriveUsersSuccessRateTotalV1SchemaJson } from './types/drive_users_success_rate_total_v1.schema';
58 import type { HttpsProtonMeDriveVolumeEventsSubscriptionsHistogramV1SchemaJson } from './types/drive_volume_events_subscriptions_histogram_v1.schema';
59 import type { NewEventSetupTime } from './types/web_calendar_new_event_setup_time_histogram_v1.schema';
60 import type { WebCoreDeleteAccountTotal } from './types/web_core_delete_account_total_v1.schema';
61 import type { WebCoreLightLabellingImageProcessingTotal } from './types/web_core_lightLabelling_imageProcessing_total_v1.schema';
62 import type { WebCoreLightLabellingLogoRemovalTotal } from './types/web_core_lightLabelling_logoRemoval_total_v1.schema';
63 import type { WebCoreLightLabellingLogoUploadTotal } from './types/web_core_lightLabelling_logoUpload_total_v1.schema';
64 import type { WebCoreSessionRecoveryAbortTotal } from './types/web_core_session_recovery_abort_total_v1.schema';
65 import type { WebCoreSessionRecoveryCancellationModalLoadTotal } from './types/web_core_session_recovery_cancellation_modal_load_total_v1.schema';
66 import type { WebCoreSessionRecoveryConsumeTotal } from './types/web_core_session_recovery_consume_total_v1.schema';
67 import type { WebCoreSessionRecoveryInitiationModalLoadTotal } from './types/web_core_session_recovery_initiation_modal_load_total_v1.schema';
68 import type { WebCoreSessionRecoveryInitiationTotal } from './types/web_core_session_recovery_initiation_total_v1.schema';
69 import type { WebCoreSessionRecoveryPasswordResetAvailableAccountModalLoadTotal } from './types/web_core_session_recovery_password_reset_available_account_modal_load_total_v1.schema';
70 import type { WebCoreSessionRecoverySettingsUpdateTotal } from './types/web_core_session_recovery_settings_update_total_v1.schema';
71 import type { WebCoreSignupAccountStepAccountCreationTotal } from './types/web_core_signup_accountStep_accountCreation_total_v2.schema';
72 import type { WebCoreSignupBackButtonTotal } from './types/web_core_signup_backButton_total_v1.schema';
73 import type { WebCoreSignupCongratulationsStepDisplayNameChoiceTotal } from './types/web_core_signup_congratulationsStep_displayNameChoice_total_v2.schema';
74 import type { WebCoreSignupExploreStepLoginTotal } from './types/web_core_signup_exploreStep_login_total_v2.schema';
75 import type { WebCoreSignupLoadingStepAccountSetupTotal } from './types/web_core_signup_loadingStep_accountSetup_total_v2.schema';
76 import type { WebCoreSignupPageLoadTotal } from './types/web_core_signup_pageLoad_total_v1.schema';
77 import type { WebCoreSignupPaymentStepPaymentTotal } from './types/web_core_signup_paymentStep_payment_total_v2.schema';
78 import type { WebCoreSignupRecoveryStepSetRecoveryMethodTotal } from './types/web_core_signup_recoveryStep_setRecoveryMethod_total_v2.schema';
79 import type { WebCoreSignupReferralStepPlanSelectionTotal } from './types/web_core_signup_referralStep_planSelection_total_v2.schema';
80 import type { WebCoreSignupUpsellStepPlanSelectionTotal } from './types/web_core_signup_upsellStep_planSelection_total_v2.schema';
81 import type { WebCoreSignupVerificationStepVerificationTotal } from './types/web_core_signup_verificationStep_verification_total_v2.schema';
82 import type { WebCoreSingleSignupCompleteTotal } from './types/web_core_single_signup_complete_total_v1.schema';
83 import type { WebCoreSingleSignupFetchDependenciesTotal } from './types/web_core_single_signup_fetchDependencies_total_v1.schema';
84 import type { WebCoreSingleSignupPageLoadTotal } from './types/web_core_single_signup_pageLoad_total_v1.schema';
85 import type { WebCoreSingleSignupSetupTotal } from './types/web_core_single_signup_setup_total_v1.schema';
86 import type { WebCoreSingleSignupSignedInSessionTotal } from './types/web_core_single_signup_signedInSession_total_v1.schema';
87 import type { WebCoreSingleSignupSwitchSessionTotal } from './types/web_core_single_signup_switchSession_total_v1.schema';
88 import type { WebCoreSSORemoveDomainModalLoadTotal } from './types/web_core_sso_remove_domain_modal_load_total_v1.schema';
89 import type { WebCoreSSORemoveDomainTotal } from './types/web_core_sso_remove_domain_total_v1.schema';
90 import type { WebCoreSSOSamlInfoSectionLoadTotal } from './types/web_core_sso_saml_info_page_load_total_v1.schema';
91 import type { WebCoreSSOSamlSetupModalLoadTotal } from './types/web_core_sso_saml_setup_modal_load_total_v1.schema';
92 import type { WebCoreSSOSamlSetupTotal } from './types/web_core_sso_saml_setup_total_v1.schema';
93 import type { WebCoreSSOSamlUpdateInfoTotal } from './types/web_core_sso_saml_update_info_total_v1.schema';
94 import type { WebCoreSSOSetupDomainModalLoadTotal } from './types/web_core_sso_setup_domain_modal_load_total_v1.schema';
95 import type { WebCoreSSOSetupDomainTotal } from './types/web_core_sso_setup_domain_total_v1.schema';
96 import type { WebCoreVpnSingleSignupFetchDependencies2Total } from './types/web_core_vpn_single_signup_fetchDependencies_2_total_v1.schema';
97 import type { WebCoreVpnSingleSignupFetchDependenciesTotal } from './types/web_core_vpn_single_signup_fetchDependencies_total_v1.schema';
98 import type { WebCoreVpnSingleSignupPageLoad2Total } from './types/web_core_vpn_single_signup_pageLoad_2_total_v1.schema';
99 import type { WebCoreVpnSingleSignupPageLoadTotal } from './types/web_core_vpn_single_signup_pageLoad_total_v1.schema';
100 import type { WebCoreVpnSingleSignupPasswordSelectionStep2Total } from './types/web_core_vpn_single_signup_passwordSelection_step_2_total_v1.schema';
101 import type { WebCoreVpnSingleSignupPasswordSelectionStepTotal } from './types/web_core_vpn_single_signup_passwordSelection_step_total_v1.schema';
102 import type { WebCoreVpnSingleSignupStep1AccountCreation2Total } from './types/web_core_vpn_single_signup_step1_accountCreation_2_total_v1.schema';
103 import type { WebCoreVpnSingleSignupStep1AccountCreationTotal } from './types/web_core_vpn_single_signup_step1_accountCreation_total_v1.schema';
104 import type { WebCoreVpnSingleSignupStep1CurrencyChange2Total } from './types/web_core_vpn_single_signup_step1_currencyChange_2_total_v1.schema';
105 import type { WebCoreVpnSingleSignupStep1CurrencyChangeTotal } from './types/web_core_vpn_single_signup_step1_currencyChange_total_v1.schema';
106 import type { WebCoreVpnSingleSignupStep1CycleChange2Total } from './types/web_core_vpn_single_signup_step1_cycleChange_2_total_v1.schema';
107 import type { WebCoreVpnSingleSignupStep1CycleChangeTotal } from './types/web_core_vpn_single_signup_step1_cycleChange_total_v1.schema';
108 import type { WebCoreVpnSingleSignupStep1Interaction2Total } from './types/web_core_vpn_single_signup_step1_interaction_2_total_v1.schema';
109 import type { WebCoreVpnSingleSignupStep1InteractionTotal } from './types/web_core_vpn_single_signup_step1_interaction_total_v1.schema';
110 import type { WebCoreVpnSingleSignupStep1Payment2Total } from './types/web_core_vpn_single_signup_step1_payment_2_total_v1.schema';
111 import type { WebCoreVpnSingleSignupStep1PaymentTotal } from './types/web_core_vpn_single_signup_step1_payment_total_v1.schema';
112 import type { WebCoreVpnSingleSignupStep2Setup2Total } from './types/web_core_vpn_single_signup_step2_setup_2_total_v1.schema';
113 import type { WebCoreVpnSingleSignupStep2Setup3Total } from './types/web_core_vpn_single_signup_step2_setup_3_total_v1.schema';
114 import type { WebCoreVpnSingleSignupStep2SetupTotal } from './types/web_core_vpn_single_signup_step2_setup_total_v1.schema';
115 import type { WebCoreVpnSingleSignupStep3Complete2Total } from './types/web_core_vpn_single_signup_step3_complete_2_total_v1.schema';
116 import type { WebCoreVpnSingleSignupStep3CompleteTotal } from './types/web_core_vpn_single_signup_step3_complete_total_v1.schema';
117 import type { WebCoreVpnSingleSignupStep4OrgSetupTotal } from './types/web_core_vpn_single_signup_step4_orgSetup_total_v1.schema';
118 import type { WebCoreVpnSingleSignupStep4Setup2Total } from './types/web_core_vpn_single_signup_step4_setup_2_total_v1.schema';
119 import type { WebCoreVpnSingleSignupStep4SetupTotal } from './types/web_core_vpn_single_signup_step4_setup_total_v1.schema';
120 import type { HttpsProtonMeWebCoreWebvitalsTotalV1SchemaJson } from './types/web_core_webvitals_total_v1.schema';
121 import type { WebCryptoKeyTransparencyErrorsTotal } from './types/web_crypto_keytransparency_errors_total_v1.schema';
122 import type { HttpsProtonMeWebDriveDownloadMechanismSuccessRateTotalV1SchemaJson } from './types/web_drive_download_mechanism_success_rate_total_v1.schema';
123 import type { HttpsProtonMeWebDrivePerformanceAveragetimeperitemHistogramV1SchemaJson } from './types/web_drive_performance_averagetimeperitem_histogram_v1.schema';
124 import type { HttpsProtonMeWebDrivePerformanceClicktobootstrappedHistogramV1SchemaJson } from './types/web_drive_performance_clicktobootstrapped_histogram_v1.schema';
125 import type { HttpsProtonMeWebDrivePerformanceClicktofirstitemrenderedHistogramV1SchemaJson } from './types/web_drive_performance_clicktofirstitemrendered_histogram_v1.schema';
126 import type { HttpsProtonMeWebDrivePerformanceClicktofirstpagerenderedHistogramV1SchemaJson } from './types/web_drive_performance_clicktofirstpagerendered_histogram_v1.schema';
127 import type { HttpsProtonMeWebDrivePerformanceClicktolastitemrenderedHistogramV1SchemaJson } from './types/web_drive_performance_clicktolastitemrendered_histogram_v1.schema';
128 import type { HttpsProtonMeWebDrivePerformanceClicktonavrenderedHistogramV1SchemaJson } from './types/web_drive_performance_clicktonavrendered_histogram_v1.schema';
129 import type { HttpsProtonMeWebDrivePerformanceDomcontentloadedHistogramV1SchemaJson } from './types/web_drive_performance_domcontentloaded_histogram_v1.schema';
130 import type { HttpsProtonMeWebDrivePerformanceLoadHistogramV1SchemaJson } from './types/web_drive_performance_load_histogram_v1.schema';
131 import type { HttpsProtonMeWebDrivePublicShareLoadErrorTotalV1SchemaJson } from './types/web_drive_public_share_load_error_total_v1.schema';
132 import type { HttpsProtonMeWebDrivePublicShareLoadSuccessTotalV1SchemaJson } from './types/web_drive_public_share_load_success_total_v1.schema';
133 import type { EmailContentRenderTime } from './types/web_mail_performance_email_content_render_time_histogram_v1.schema';
134 import type { EmailListDisplayTime } from './types/web_mail_performance_email_list_display_time_histogram_v1.schema';
135 import type { PageTransitionTime } from './types/web_mail_performance_page_transition_time_histogram_v1.schema';
136 import type { WebPaymentsSubscriptionStepsTotal } from './types/web_payments_subscription_steps_total_v1.schema';
137 import type { WebPaymentsSubscriptionTotal } from './types/web_payments_subscription_total_v1.schema';
139 class Metrics extends MetricsBase {
140 public desktop_inbox_heartbeat_total: Counter<HttpsProtonMeDesktopInboxHeartbeatTotalV1SchemaJson>;
142 public docs_aborted_squashes_total: Counter<HttpsProtonMeDocsAbortedSquashesTotalV1SchemaJson>;
144 public docs_alert_modal_total: Counter<HttpsProtonMeDocsAlertModalTotalV1SchemaJson>;
146 public docs_comments_download_error_total: Counter<HttpsProtonMeDocsCommentsDownloadErrorTotalV1SchemaJson>;
148 public docs_comments_error_total: Counter<HttpsProtonMeDocsCommentsErrorTotalV1SchemaJson>;
150 public docs_comments_total: Counter<HttpsProtonMeDocsCommentsTotalV1SchemaJson>;
152 public docs_commit_signature_error_total: Counter<HttpsProtonMeDocsCommitSignatureErrorTotalV1SchemaJson>;
154 public docs_document_updates_ack_error_total: Counter<HttpsProtonMeDocsDocumentUpdatesAckErrorTotalV1SchemaJson>;
156 public docs_document_updates_decryption_error_total: Counter<HttpsProtonMeDocsDocumentUpdatesDecryptionErrorTotalV1SchemaJson>;
158 public docs_document_updates_load_error_total: Counter<HttpsProtonMeDocsDocumentUpdatesLoadErrorTotalV1SchemaJson>;
160 public docs_document_updates_save_error_total: Counter<HttpsProtonMeDocsDocumentUpdatesSaveErrorTotalV1SchemaJson>;
162 public docs_document_updates_total: Counter<HttpsProtonMeDocsDocumentUpdatesTotalV1SchemaJson>;
164 public docs_failed_websocket_connections_total: Counter<HttpsProtonMeDocsFailedWebsocketConnectionsTotalV1SchemaJson>;
166 public docs_open_documents_heartbeat_total: Counter<HttpsProtonMeDocsOpenDocumentsHeartbeatTotalV1SchemaJson>;
168 public docs_public_sharing_custom_password_success_rate_total: Counter<HttpsProtonMeDocsPublicSharingCustomPasswordSuccessRateTotalV1SchemaJson>;
170 public docs_readonly_mode_documents_total: Counter<HttpsProtonMeDocsReadonlyModeDocumentsTotalV1SchemaJson>;
172 public docs_realtime_disconnect_error_total: Counter<HttpsProtonMeDocsRealtimeDisconnectErrorTotalV1SchemaJson>;
174 public docs_realtime_edit_latency_histogram: Histogram<HttpsProtonMeDocsRealtimeEditLatencyHistogramV1SchemaJson>;
176 public docs_realtime_edit_time_to_ack_histogram: Histogram<HttpsProtonMeDocsRealtimeEditTimeToAckHistogramV1SchemaJson>;
178 public docs_squashes_latency_histogram: Histogram<HttpsProtonMeDocsSquashesLatencyHistogramV1SchemaJson>;
180 public docs_squashes_total: Counter<HttpsProtonMeDocsSquashesTotalV1SchemaJson>;
182 public docs_suggestions_created_total: Counter<HttpsProtonMeDocsSuggestionsCreatedTotalV1SchemaJson>;
184 public docs_suggestions_resolved_total: Counter<HttpsProtonMeDocsSuggestionsResolvedTotalV1SchemaJson>;
186 public docs_time_load_document_histogram: Histogram<HttpsProtonMeDocsTimeLoadDocumentHistogramV1SchemaJson>;
188 public docs_users_success_rate_total: Counter<HttpsProtonMeDocsUsersSuccessRateTotalV1SchemaJson>;
190 public drive_download_erroring_users_total: Counter<HttpsProtonMeDriveDownloadErroringUsersTotalV1SchemaJson>;
192 public drive_download_errors_total: Counter<HttpsProtonMeDriveDownloadErrorsTotalV2SchemaJson>;
194 public drive_download_success_rate_total: Counter<HttpsProtonMeDriveDownloadSuccessRateTotalV1SchemaJson>;
196 public drive_file_preview_errors_total: Counter<HttpsProtonMeDriveFilePreviewErrorsTotalV1SchemaJson>;
198 public drive_integrity_block_verification_errors_total: Counter<HttpsProtonMeDriveIntegrityBlockVerificationErrorsTotalV1SchemaJson>;
200 public drive_integrity_decryption_errors_total: Counter<HttpsProtonMeDriveIntegrityDecryptionErrorsTotalV1SchemaJson>;
202 public drive_integrity_erroring_users_total: Counter<HttpsProtonMeDriveIntegrityErroringUsersTotalV1SchemaJson>;
204 public drive_integrity_verification_errors_total: Counter<HttpsProtonMeDriveIntegrityVerificationErrorsTotalV1SchemaJson>;
206 public drive_sync_erroring_users_total: Counter<HttpsProtonMeDriveSyncErroringUsersTotalV1SchemaJson>;
208 public drive_sync_errors_total: Counter<HttpsProtonMeDriveSyncErrorsTotalV1SchemaJson>;
210 public drive_sync_event_total: Counter<HttpsProtonMeDriveSyncEventTotalV2SchemaJson>;
212 public drive_sync_event_unecessary_total: Counter<HttpsProtonMeDriveSyncEventUnecessaryTotalV2SchemaJson>;
214 public drive_sync_items_total: Counter<HttpsProtonMeDriveSyncItemsTotalV1SchemaJson>;
216 public drive_sync_resync_items_total: Counter<HttpsProtonMeDriveSyncResyncItemsTotalV1SchemaJson>;
218 public drive_sync_resync_total: Counter<HttpsProtonMeDriveSyncResyncTotalV1SchemaJson>;
220 public drive_upload_erroring_users_total: Counter<HttpsProtonMeDriveUploadErroringUsersTotalV2SchemaJson>;
222 public drive_upload_errors_file_size_histogram: Histogram<HttpsProtonMeDriveUploadErrorsFileSizeHistogramV1SchemaJson>;
224 public drive_upload_errors_total: Counter<HttpsProtonMeDriveUploadErrorsTotalV2SchemaJson>;
226 public drive_upload_errors_transfer_size_histogram: Histogram<HttpsProtonMeDriveUploadErrorsTransferSizeHistogramV1SchemaJson>;
228 public drive_upload_success_rate_total: Counter<HttpsProtonMeDriveUploadSuccessRateTotalV2SchemaJson>;
230 public drive_users_success_rate_total: Counter<HttpsProtonMeDriveUsersSuccessRateTotalV1SchemaJson>;
232 public drive_volume_events_subscriptions_histogram: Histogram<HttpsProtonMeDriveVolumeEventsSubscriptionsHistogramV1SchemaJson>;
234 public calendar_new_event_setup_time_histogram: Histogram<NewEventSetupTime>;
236 public core_delete_account_total: Counter<WebCoreDeleteAccountTotal>;
238 public core_lightLabelling_imageProcessing_total: Counter<WebCoreLightLabellingImageProcessingTotal>;
240 public core_lightLabelling_logoRemoval_total: Counter<WebCoreLightLabellingLogoRemovalTotal>;
242 public core_lightLabelling_logoUpload_total: Counter<WebCoreLightLabellingLogoUploadTotal>;
244 public core_session_recovery_abort_total: Counter<WebCoreSessionRecoveryAbortTotal>;
246 public core_session_recovery_cancellation_modal_load_total: Counter<WebCoreSessionRecoveryCancellationModalLoadTotal>;
248 public core_session_recovery_consume_total: Counter<WebCoreSessionRecoveryConsumeTotal>;
250 public core_session_recovery_initiation_modal_load_total: Counter<WebCoreSessionRecoveryInitiationModalLoadTotal>;
252 public core_session_recovery_initiation_total: Counter<WebCoreSessionRecoveryInitiationTotal>;
254 public core_session_recovery_password_reset_available_account_modal_load_total: Counter<WebCoreSessionRecoveryPasswordResetAvailableAccountModalLoadTotal>;
256 public core_session_recovery_settings_update_total: Counter<WebCoreSessionRecoverySettingsUpdateTotal>;
258 public core_signup_accountStep_accountCreation_total: Counter<WebCoreSignupAccountStepAccountCreationTotal>;
260 public core_signup_backButton_total: Counter<WebCoreSignupBackButtonTotal>;
262 public core_signup_congratulationsStep_displayNameChoice_total: Counter<WebCoreSignupCongratulationsStepDisplayNameChoiceTotal>;
264 public core_signup_exploreStep_login_total: Counter<WebCoreSignupExploreStepLoginTotal>;
266 public core_signup_loadingStep_accountSetup_total: Counter<WebCoreSignupLoadingStepAccountSetupTotal>;
268 public core_signup_pageLoad_total: Counter<WebCoreSignupPageLoadTotal>;
270 public core_signup_paymentStep_payment_total: Counter<WebCoreSignupPaymentStepPaymentTotal>;
272 public core_signup_recoveryStep_setRecoveryMethod_total: Counter<WebCoreSignupRecoveryStepSetRecoveryMethodTotal>;
274 public core_signup_referralStep_planSelection_total: Counter<WebCoreSignupReferralStepPlanSelectionTotal>;
276 public core_signup_upsellStep_planSelection_total: Counter<WebCoreSignupUpsellStepPlanSelectionTotal>;
278 public core_signup_verificationStep_verification_total: Counter<WebCoreSignupVerificationStepVerificationTotal>;
280 public core_single_signup_complete_total: Counter<WebCoreSingleSignupCompleteTotal>;
282 public core_single_signup_fetchDependencies_total: Counter<WebCoreSingleSignupFetchDependenciesTotal>;
284 public core_single_signup_pageLoad_total: Counter<WebCoreSingleSignupPageLoadTotal>;
286 public core_single_signup_setup_total: Counter<WebCoreSingleSignupSetupTotal>;
288 public core_single_signup_signedInSession_total: Counter<WebCoreSingleSignupSignedInSessionTotal>;
290 public core_single_signup_switchSession_total: Counter<WebCoreSingleSignupSwitchSessionTotal>;
292 public core_sso_remove_domain_modal_load_total: Counter<WebCoreSSORemoveDomainModalLoadTotal>;
294 public core_sso_remove_domain_total: Counter<WebCoreSSORemoveDomainTotal>;
296 public core_sso_saml_info_page_load_total: Counter<WebCoreSSOSamlInfoSectionLoadTotal>;
298 public core_sso_saml_setup_modal_load_total: Counter<WebCoreSSOSamlSetupModalLoadTotal>;
300 public core_sso_saml_setup_total: Counter<WebCoreSSOSamlSetupTotal>;
302 public core_sso_saml_update_info_total: Counter<WebCoreSSOSamlUpdateInfoTotal>;
304 public core_sso_setup_domain_modal_load_total: Counter<WebCoreSSOSetupDomainModalLoadTotal>;
306 public core_sso_setup_domain_total: Counter<WebCoreSSOSetupDomainTotal>;
308 public core_vpn_single_signup_fetchDependencies_2_total: Counter<WebCoreVpnSingleSignupFetchDependencies2Total>;
310 public core_vpn_single_signup_fetchDependencies_total: Counter<WebCoreVpnSingleSignupFetchDependenciesTotal>;
312 public core_vpn_single_signup_pageLoad_2_total: Counter<WebCoreVpnSingleSignupPageLoad2Total>;
314 public core_vpn_single_signup_pageLoad_total: Counter<WebCoreVpnSingleSignupPageLoadTotal>;
316 public core_vpn_single_signup_passwordSelection_step_2_total: Counter<WebCoreVpnSingleSignupPasswordSelectionStep2Total>;
318 public core_vpn_single_signup_passwordSelection_step_total: Counter<WebCoreVpnSingleSignupPasswordSelectionStepTotal>;
320 public core_vpn_single_signup_step1_accountCreation_2_total: Counter<WebCoreVpnSingleSignupStep1AccountCreation2Total>;
322 public core_vpn_single_signup_step1_accountCreation_total: Counter<WebCoreVpnSingleSignupStep1AccountCreationTotal>;
324 public core_vpn_single_signup_step1_currencyChange_2_total: Counter<WebCoreVpnSingleSignupStep1CurrencyChange2Total>;
326 public core_vpn_single_signup_step1_currencyChange_total: Counter<WebCoreVpnSingleSignupStep1CurrencyChangeTotal>;
328 public core_vpn_single_signup_step1_cycleChange_2_total: Counter<WebCoreVpnSingleSignupStep1CycleChange2Total>;
330 public core_vpn_single_signup_step1_cycleChange_total: Counter<WebCoreVpnSingleSignupStep1CycleChangeTotal>;
332 public core_vpn_single_signup_step1_interaction_2_total: Counter<WebCoreVpnSingleSignupStep1Interaction2Total>;
334 public core_vpn_single_signup_step1_interaction_total: Counter<WebCoreVpnSingleSignupStep1InteractionTotal>;
336 public core_vpn_single_signup_step1_payment_2_total: Counter<WebCoreVpnSingleSignupStep1Payment2Total>;
338 public core_vpn_single_signup_step1_payment_total: Counter<WebCoreVpnSingleSignupStep1PaymentTotal>;
340 public core_vpn_single_signup_step2_setup_2_total: Counter<WebCoreVpnSingleSignupStep2Setup2Total>;
342 public core_vpn_single_signup_step2_setup_3_total: Counter<WebCoreVpnSingleSignupStep2Setup3Total>;
344 public core_vpn_single_signup_step2_setup_total: Counter<WebCoreVpnSingleSignupStep2SetupTotal>;
346 public core_vpn_single_signup_step3_complete_2_total: Counter<WebCoreVpnSingleSignupStep3Complete2Total>;
348 public core_vpn_single_signup_step3_complete_total: Counter<WebCoreVpnSingleSignupStep3CompleteTotal>;
350 public core_vpn_single_signup_step4_orgSetup_total: Counter<WebCoreVpnSingleSignupStep4OrgSetupTotal>;
352 public core_vpn_single_signup_step4_setup_2_total: Counter<WebCoreVpnSingleSignupStep4Setup2Total>;
354 public core_vpn_single_signup_step4_setup_total: Counter<WebCoreVpnSingleSignupStep4SetupTotal>;
356 public core_webvitals_total: Counter<HttpsProtonMeWebCoreWebvitalsTotalV1SchemaJson>;
358 public crypto_keytransparency_errors_total: Counter<WebCryptoKeyTransparencyErrorsTotal>;
360 public drive_download_mechanism_success_rate_total: Counter<HttpsProtonMeWebDriveDownloadMechanismSuccessRateTotalV1SchemaJson>;
362 public drive_performance_averagetimeperitem_histogram: Histogram<HttpsProtonMeWebDrivePerformanceAveragetimeperitemHistogramV1SchemaJson>;
364 public drive_performance_clicktobootstrapped_histogram: Histogram<HttpsProtonMeWebDrivePerformanceClicktobootstrappedHistogramV1SchemaJson>;
366 public drive_performance_clicktofirstitemrendered_histogram: Histogram<HttpsProtonMeWebDrivePerformanceClicktofirstitemrenderedHistogramV1SchemaJson>;
368 public drive_performance_clicktofirstpagerendered_histogram: Histogram<HttpsProtonMeWebDrivePerformanceClicktofirstpagerenderedHistogramV1SchemaJson>;
370 public drive_performance_clicktolastitemrendered_histogram: Histogram<HttpsProtonMeWebDrivePerformanceClicktolastitemrenderedHistogramV1SchemaJson>;
372 public drive_performance_clicktonavrendered_histogram: Histogram<HttpsProtonMeWebDrivePerformanceClicktonavrenderedHistogramV1SchemaJson>;
374 public drive_performance_domcontentloaded_histogram: Histogram<HttpsProtonMeWebDrivePerformanceDomcontentloadedHistogramV1SchemaJson>;
376 public drive_performance_load_histogram: Histogram<HttpsProtonMeWebDrivePerformanceLoadHistogramV1SchemaJson>;
378 public drive_public_share_load_error_total: Counter<HttpsProtonMeWebDrivePublicShareLoadErrorTotalV1SchemaJson>;
380 public drive_public_share_load_success_total: Counter<HttpsProtonMeWebDrivePublicShareLoadSuccessTotalV1SchemaJson>;
382 public mail_performance_email_content_render_time_histogram: Histogram<EmailContentRenderTime>;
384 public mail_performance_email_list_display_time_histogram: Histogram<EmailListDisplayTime>;
386 public mail_performance_page_transition_time_histogram: Histogram<PageTransitionTime>;
388 public payments_subscription_steps_total: Counter<WebPaymentsSubscriptionStepsTotal>;
390 public payments_subscription_total: Counter<WebPaymentsSubscriptionTotal>;
392 constructor(requestService: IMetricsRequestService) {
393 super(requestService);
395 this.desktop_inbox_heartbeat_total = new Counter<HttpsProtonMeDesktopInboxHeartbeatTotalV1SchemaJson>(
396 { name: 'desktop_inbox_heartbeat_total', version: 1 },
400 this.docs_aborted_squashes_total = new Counter<HttpsProtonMeDocsAbortedSquashesTotalV1SchemaJson>(
401 { name: 'docs_aborted_squashes_total', version: 1 },
405 this.docs_alert_modal_total = new Counter<HttpsProtonMeDocsAlertModalTotalV1SchemaJson>(
406 { name: 'docs_alert_modal_total', version: 1 },
410 this.docs_comments_download_error_total = new Counter<HttpsProtonMeDocsCommentsDownloadErrorTotalV1SchemaJson>(
411 { name: 'docs_comments_download_error_total', version: 1 },
415 this.docs_comments_error_total = new Counter<HttpsProtonMeDocsCommentsErrorTotalV1SchemaJson>(
416 { name: 'docs_comments_error_total', version: 1 },
420 this.docs_comments_total = new Counter<HttpsProtonMeDocsCommentsTotalV1SchemaJson>(
421 { name: 'docs_comments_total', version: 1 },
425 this.docs_commit_signature_error_total = new Counter<HttpsProtonMeDocsCommitSignatureErrorTotalV1SchemaJson>(
426 { name: 'docs_commit_signature_error_total', version: 1 },
430 this.docs_document_updates_ack_error_total =
431 new Counter<HttpsProtonMeDocsDocumentUpdatesAckErrorTotalV1SchemaJson>(
432 { name: 'docs_document_updates_ack_error_total', version: 1 },
436 this.docs_document_updates_decryption_error_total =
437 new Counter<HttpsProtonMeDocsDocumentUpdatesDecryptionErrorTotalV1SchemaJson>(
438 { name: 'docs_document_updates_decryption_error_total', version: 1 },
442 this.docs_document_updates_load_error_total =
443 new Counter<HttpsProtonMeDocsDocumentUpdatesLoadErrorTotalV1SchemaJson>(
444 { name: 'docs_document_updates_load_error_total', version: 1 },
448 this.docs_document_updates_save_error_total =
449 new Counter<HttpsProtonMeDocsDocumentUpdatesSaveErrorTotalV1SchemaJson>(
450 { name: 'docs_document_updates_save_error_total', version: 1 },
454 this.docs_document_updates_total = new Counter<HttpsProtonMeDocsDocumentUpdatesTotalV1SchemaJson>(
455 { name: 'docs_document_updates_total', version: 1 },
459 this.docs_failed_websocket_connections_total =
460 new Counter<HttpsProtonMeDocsFailedWebsocketConnectionsTotalV1SchemaJson>(
461 { name: 'docs_failed_websocket_connections_total', version: 1 },
465 this.docs_open_documents_heartbeat_total =
466 new Counter<HttpsProtonMeDocsOpenDocumentsHeartbeatTotalV1SchemaJson>(
467 { name: 'docs_open_documents_heartbeat_total', version: 1 },
471 this.docs_public_sharing_custom_password_success_rate_total =
472 new Counter<HttpsProtonMeDocsPublicSharingCustomPasswordSuccessRateTotalV1SchemaJson>(
473 { name: 'docs_public_sharing_custom_password_success_rate_total', version: 1 },
477 this.docs_readonly_mode_documents_total = new Counter<HttpsProtonMeDocsReadonlyModeDocumentsTotalV1SchemaJson>(
478 { name: 'docs_readonly_mode_documents_total', version: 1 },
482 this.docs_realtime_disconnect_error_total =
483 new Counter<HttpsProtonMeDocsRealtimeDisconnectErrorTotalV1SchemaJson>(
484 { name: 'docs_realtime_disconnect_error_total', version: 1 },
488 this.docs_realtime_edit_latency_histogram =
489 new Histogram<HttpsProtonMeDocsRealtimeEditLatencyHistogramV1SchemaJson>(
490 { name: 'docs_realtime_edit_latency_histogram', version: 1 },
494 this.docs_realtime_edit_time_to_ack_histogram =
495 new Histogram<HttpsProtonMeDocsRealtimeEditTimeToAckHistogramV1SchemaJson>(
496 { name: 'docs_realtime_edit_time_to_ack_histogram', version: 1 },
500 this.docs_squashes_latency_histogram = new Histogram<HttpsProtonMeDocsSquashesLatencyHistogramV1SchemaJson>(
501 { name: 'docs_squashes_latency_histogram', version: 1 },
505 this.docs_squashes_total = new Counter<HttpsProtonMeDocsSquashesTotalV1SchemaJson>(
506 { name: 'docs_squashes_total', version: 1 },
510 this.docs_suggestions_created_total = new Counter<HttpsProtonMeDocsSuggestionsCreatedTotalV1SchemaJson>(
511 { name: 'docs_suggestions_created_total', version: 1 },
515 this.docs_suggestions_resolved_total = new Counter<HttpsProtonMeDocsSuggestionsResolvedTotalV1SchemaJson>(
516 { name: 'docs_suggestions_resolved_total', version: 1 },
520 this.docs_time_load_document_histogram = new Histogram<HttpsProtonMeDocsTimeLoadDocumentHistogramV1SchemaJson>(
521 { name: 'docs_time_load_document_histogram', version: 1 },
525 this.docs_users_success_rate_total = new Counter<HttpsProtonMeDocsUsersSuccessRateTotalV1SchemaJson>(
526 { name: 'docs_users_success_rate_total', version: 1 },
530 this.drive_download_erroring_users_total =
531 new Counter<HttpsProtonMeDriveDownloadErroringUsersTotalV1SchemaJson>(
532 { name: 'drive_download_erroring_users_total', version: 1 },
536 this.drive_download_errors_total = new Counter<HttpsProtonMeDriveDownloadErrorsTotalV2SchemaJson>(
537 { name: 'drive_download_errors_total', version: 2 },
541 this.drive_download_success_rate_total = new Counter<HttpsProtonMeDriveDownloadSuccessRateTotalV1SchemaJson>(
542 { name: 'drive_download_success_rate_total', version: 1 },
546 this.drive_file_preview_errors_total = new Counter<HttpsProtonMeDriveFilePreviewErrorsTotalV1SchemaJson>(
547 { name: 'drive_file_preview_errors_total', version: 1 },
551 this.drive_integrity_block_verification_errors_total =
552 new Counter<HttpsProtonMeDriveIntegrityBlockVerificationErrorsTotalV1SchemaJson>(
553 { name: 'drive_integrity_block_verification_errors_total', version: 1 },
557 this.drive_integrity_decryption_errors_total =
558 new Counter<HttpsProtonMeDriveIntegrityDecryptionErrorsTotalV1SchemaJson>(
559 { name: 'drive_integrity_decryption_errors_total', version: 1 },
563 this.drive_integrity_erroring_users_total =
564 new Counter<HttpsProtonMeDriveIntegrityErroringUsersTotalV1SchemaJson>(
565 { name: 'drive_integrity_erroring_users_total', version: 1 },
569 this.drive_integrity_verification_errors_total =
570 new Counter<HttpsProtonMeDriveIntegrityVerificationErrorsTotalV1SchemaJson>(
571 { name: 'drive_integrity_verification_errors_total', version: 1 },
575 this.drive_sync_erroring_users_total = new Counter<HttpsProtonMeDriveSyncErroringUsersTotalV1SchemaJson>(
576 { name: 'drive_sync_erroring_users_total', version: 1 },
580 this.drive_sync_errors_total = new Counter<HttpsProtonMeDriveSyncErrorsTotalV1SchemaJson>(
581 { name: 'drive_sync_errors_total', version: 1 },
585 this.drive_sync_event_total = new Counter<HttpsProtonMeDriveSyncEventTotalV2SchemaJson>(
586 { name: 'drive_sync_event_total', version: 2 },
590 this.drive_sync_event_unecessary_total = new Counter<HttpsProtonMeDriveSyncEventUnecessaryTotalV2SchemaJson>(
591 { name: 'drive_sync_event_unecessary_total', version: 2 },
595 this.drive_sync_items_total = new Counter<HttpsProtonMeDriveSyncItemsTotalV1SchemaJson>(
596 { name: 'drive_sync_items_total', version: 1 },
600 this.drive_sync_resync_items_total = new Counter<HttpsProtonMeDriveSyncResyncItemsTotalV1SchemaJson>(
601 { name: 'drive_sync_resync_items_total', version: 1 },
605 this.drive_sync_resync_total = new Counter<HttpsProtonMeDriveSyncResyncTotalV1SchemaJson>(
606 { name: 'drive_sync_resync_total', version: 1 },
610 this.drive_upload_erroring_users_total = new Counter<HttpsProtonMeDriveUploadErroringUsersTotalV2SchemaJson>(
611 { name: 'drive_upload_erroring_users_total', version: 2 },
615 this.drive_upload_errors_file_size_histogram =
616 new Histogram<HttpsProtonMeDriveUploadErrorsFileSizeHistogramV1SchemaJson>(
617 { name: 'drive_upload_errors_file_size_histogram', version: 1 },
621 this.drive_upload_errors_total = new Counter<HttpsProtonMeDriveUploadErrorsTotalV2SchemaJson>(
622 { name: 'drive_upload_errors_total', version: 2 },
626 this.drive_upload_errors_transfer_size_histogram =
627 new Histogram<HttpsProtonMeDriveUploadErrorsTransferSizeHistogramV1SchemaJson>(
628 { name: 'drive_upload_errors_transfer_size_histogram', version: 1 },
632 this.drive_upload_success_rate_total = new Counter<HttpsProtonMeDriveUploadSuccessRateTotalV2SchemaJson>(
633 { name: 'drive_upload_success_rate_total', version: 2 },
637 this.drive_users_success_rate_total = new Counter<HttpsProtonMeDriveUsersSuccessRateTotalV1SchemaJson>(
638 { name: 'drive_users_success_rate_total', version: 1 },
642 this.drive_volume_events_subscriptions_histogram =
643 new Histogram<HttpsProtonMeDriveVolumeEventsSubscriptionsHistogramV1SchemaJson>(
644 { name: 'drive_volume_events_subscriptions_histogram', version: 1 },
648 this.calendar_new_event_setup_time_histogram = new Histogram<NewEventSetupTime>(
649 { name: 'web_calendar_new_event_setup_time_histogram', version: 1 },
653 this.core_delete_account_total = new Counter<WebCoreDeleteAccountTotal>(
654 { name: 'web_core_delete_account_total', version: 1 },
658 this.core_lightLabelling_imageProcessing_total = new Counter<WebCoreLightLabellingImageProcessingTotal>(
659 { name: 'web_core_lightLabelling_imageProcessing_total', version: 1 },
663 this.core_lightLabelling_logoRemoval_total = new Counter<WebCoreLightLabellingLogoRemovalTotal>(
664 { name: 'web_core_lightLabelling_logoRemoval_total', version: 1 },
668 this.core_lightLabelling_logoUpload_total = new Counter<WebCoreLightLabellingLogoUploadTotal>(
669 { name: 'web_core_lightLabelling_logoUpload_total', version: 1 },
673 this.core_session_recovery_abort_total = new Counter<WebCoreSessionRecoveryAbortTotal>(
674 { name: 'web_core_session_recovery_abort_total', version: 1 },
678 this.core_session_recovery_cancellation_modal_load_total =
679 new Counter<WebCoreSessionRecoveryCancellationModalLoadTotal>(
680 { name: 'web_core_session_recovery_cancellation_modal_load_total', version: 1 },
684 this.core_session_recovery_consume_total = new Counter<WebCoreSessionRecoveryConsumeTotal>(
685 { name: 'web_core_session_recovery_consume_total', version: 1 },
689 this.core_session_recovery_initiation_modal_load_total =
690 new Counter<WebCoreSessionRecoveryInitiationModalLoadTotal>(
691 { name: 'web_core_session_recovery_initiation_modal_load_total', version: 1 },
695 this.core_session_recovery_initiation_total = new Counter<WebCoreSessionRecoveryInitiationTotal>(
696 { name: 'web_core_session_recovery_initiation_total', version: 1 },
700 this.core_session_recovery_password_reset_available_account_modal_load_total =
701 new Counter<WebCoreSessionRecoveryPasswordResetAvailableAccountModalLoadTotal>(
702 { name: 'web_core_session_recovery_password_reset_available_account_modal_load_total', version: 1 },
706 this.core_session_recovery_settings_update_total = new Counter<WebCoreSessionRecoverySettingsUpdateTotal>(
707 { name: 'web_core_session_recovery_settings_update_total', version: 1 },
711 this.core_signup_accountStep_accountCreation_total = new Counter<WebCoreSignupAccountStepAccountCreationTotal>(
712 { name: 'web_core_signup_accountStep_accountCreation_total', version: 2 },
716 this.core_signup_backButton_total = new Counter<WebCoreSignupBackButtonTotal>(
717 { name: 'web_core_signup_backButton_total', version: 1 },
721 this.core_signup_congratulationsStep_displayNameChoice_total =
722 new Counter<WebCoreSignupCongratulationsStepDisplayNameChoiceTotal>(
723 { name: 'web_core_signup_congratulationsStep_displayNameChoice_total', version: 2 },
727 this.core_signup_exploreStep_login_total = new Counter<WebCoreSignupExploreStepLoginTotal>(
728 { name: 'web_core_signup_exploreStep_login_total', version: 2 },
732 this.core_signup_loadingStep_accountSetup_total = new Counter<WebCoreSignupLoadingStepAccountSetupTotal>(
733 { name: 'web_core_signup_loadingStep_accountSetup_total', version: 2 },
737 this.core_signup_pageLoad_total = new Counter<WebCoreSignupPageLoadTotal>(
738 { name: 'web_core_signup_pageLoad_total', version: 1 },
742 this.core_signup_paymentStep_payment_total = new Counter<WebCoreSignupPaymentStepPaymentTotal>(
743 { name: 'web_core_signup_paymentStep_payment_total', version: 2 },
747 this.core_signup_recoveryStep_setRecoveryMethod_total =
748 new Counter<WebCoreSignupRecoveryStepSetRecoveryMethodTotal>(
749 { name: 'web_core_signup_recoveryStep_setRecoveryMethod_total', version: 2 },
753 this.core_signup_referralStep_planSelection_total = new Counter<WebCoreSignupReferralStepPlanSelectionTotal>(
754 { name: 'web_core_signup_referralStep_planSelection_total', version: 2 },
758 this.core_signup_upsellStep_planSelection_total = new Counter<WebCoreSignupUpsellStepPlanSelectionTotal>(
759 { name: 'web_core_signup_upsellStep_planSelection_total', version: 2 },
763 this.core_signup_verificationStep_verification_total =
764 new Counter<WebCoreSignupVerificationStepVerificationTotal>(
765 { name: 'web_core_signup_verificationStep_verification_total', version: 2 },
769 this.core_single_signup_complete_total = new Counter<WebCoreSingleSignupCompleteTotal>(
770 { name: 'web_core_single_signup_complete_total', version: 1 },
774 this.core_single_signup_fetchDependencies_total = new Counter<WebCoreSingleSignupFetchDependenciesTotal>(
775 { name: 'web_core_single_signup_fetchDependencies_total', version: 1 },
779 this.core_single_signup_pageLoad_total = new Counter<WebCoreSingleSignupPageLoadTotal>(
780 { name: 'web_core_single_signup_pageLoad_total', version: 1 },
784 this.core_single_signup_setup_total = new Counter<WebCoreSingleSignupSetupTotal>(
785 { name: 'web_core_single_signup_setup_total', version: 1 },
789 this.core_single_signup_signedInSession_total = new Counter<WebCoreSingleSignupSignedInSessionTotal>(
790 { name: 'web_core_single_signup_signedInSession_total', version: 1 },
794 this.core_single_signup_switchSession_total = new Counter<WebCoreSingleSignupSwitchSessionTotal>(
795 { name: 'web_core_single_signup_switchSession_total', version: 1 },
799 this.core_sso_remove_domain_modal_load_total = new Counter<WebCoreSSORemoveDomainModalLoadTotal>(
800 { name: 'web_core_sso_remove_domain_modal_load_total', version: 1 },
804 this.core_sso_remove_domain_total = new Counter<WebCoreSSORemoveDomainTotal>(
805 { name: 'web_core_sso_remove_domain_total', version: 1 },
809 this.core_sso_saml_info_page_load_total = new Counter<WebCoreSSOSamlInfoSectionLoadTotal>(
810 { name: 'web_core_sso_saml_info_page_load_total', version: 1 },
814 this.core_sso_saml_setup_modal_load_total = new Counter<WebCoreSSOSamlSetupModalLoadTotal>(
815 { name: 'web_core_sso_saml_setup_modal_load_total', version: 1 },
819 this.core_sso_saml_setup_total = new Counter<WebCoreSSOSamlSetupTotal>(
820 { name: 'web_core_sso_saml_setup_total', version: 1 },
824 this.core_sso_saml_update_info_total = new Counter<WebCoreSSOSamlUpdateInfoTotal>(
825 { name: 'web_core_sso_saml_update_info_total', version: 1 },
829 this.core_sso_setup_domain_modal_load_total = new Counter<WebCoreSSOSetupDomainModalLoadTotal>(
830 { name: 'web_core_sso_setup_domain_modal_load_total', version: 1 },
834 this.core_sso_setup_domain_total = new Counter<WebCoreSSOSetupDomainTotal>(
835 { name: 'web_core_sso_setup_domain_total', version: 1 },
839 this.core_vpn_single_signup_fetchDependencies_2_total =
840 new Counter<WebCoreVpnSingleSignupFetchDependencies2Total>(
841 { name: 'web_core_vpn_single_signup_fetchDependencies_2_total', version: 1 },
845 this.core_vpn_single_signup_fetchDependencies_total = new Counter<WebCoreVpnSingleSignupFetchDependenciesTotal>(
846 { name: 'web_core_vpn_single_signup_fetchDependencies_total', version: 1 },
850 this.core_vpn_single_signup_pageLoad_2_total = new Counter<WebCoreVpnSingleSignupPageLoad2Total>(
851 { name: 'web_core_vpn_single_signup_pageLoad_2_total', version: 1 },
855 this.core_vpn_single_signup_pageLoad_total = new Counter<WebCoreVpnSingleSignupPageLoadTotal>(
856 { name: 'web_core_vpn_single_signup_pageLoad_total', version: 1 },
860 this.core_vpn_single_signup_passwordSelection_step_2_total =
861 new Counter<WebCoreVpnSingleSignupPasswordSelectionStep2Total>(
862 { name: 'web_core_vpn_single_signup_passwordSelection_step_2_total', version: 1 },
866 this.core_vpn_single_signup_passwordSelection_step_total =
867 new Counter<WebCoreVpnSingleSignupPasswordSelectionStepTotal>(
868 { name: 'web_core_vpn_single_signup_passwordSelection_step_total', version: 1 },
872 this.core_vpn_single_signup_step1_accountCreation_2_total =
873 new Counter<WebCoreVpnSingleSignupStep1AccountCreation2Total>(
874 { name: 'web_core_vpn_single_signup_step1_accountCreation_2_total', version: 1 },
878 this.core_vpn_single_signup_step1_accountCreation_total =
879 new Counter<WebCoreVpnSingleSignupStep1AccountCreationTotal>(
880 { name: 'web_core_vpn_single_signup_step1_accountCreation_total', version: 1 },
884 this.core_vpn_single_signup_step1_currencyChange_2_total =
885 new Counter<WebCoreVpnSingleSignupStep1CurrencyChange2Total>(
886 { name: 'web_core_vpn_single_signup_step1_currencyChange_2_total', version: 1 },
890 this.core_vpn_single_signup_step1_currencyChange_total =
891 new Counter<WebCoreVpnSingleSignupStep1CurrencyChangeTotal>(
892 { name: 'web_core_vpn_single_signup_step1_currencyChange_total', version: 1 },
896 this.core_vpn_single_signup_step1_cycleChange_2_total =
897 new Counter<WebCoreVpnSingleSignupStep1CycleChange2Total>(
898 { name: 'web_core_vpn_single_signup_step1_cycleChange_2_total', version: 1 },
902 this.core_vpn_single_signup_step1_cycleChange_total = new Counter<WebCoreVpnSingleSignupStep1CycleChangeTotal>(
903 { name: 'web_core_vpn_single_signup_step1_cycleChange_total', version: 1 },
907 this.core_vpn_single_signup_step1_interaction_2_total =
908 new Counter<WebCoreVpnSingleSignupStep1Interaction2Total>(
909 { name: 'web_core_vpn_single_signup_step1_interaction_2_total', version: 1 },
913 this.core_vpn_single_signup_step1_interaction_total = new Counter<WebCoreVpnSingleSignupStep1InteractionTotal>(
914 { name: 'web_core_vpn_single_signup_step1_interaction_total', version: 1 },
918 this.core_vpn_single_signup_step1_payment_2_total = new Counter<WebCoreVpnSingleSignupStep1Payment2Total>(
919 { name: 'web_core_vpn_single_signup_step1_payment_2_total', version: 1 },
923 this.core_vpn_single_signup_step1_payment_total = new Counter<WebCoreVpnSingleSignupStep1PaymentTotal>(
924 { name: 'web_core_vpn_single_signup_step1_payment_total', version: 1 },
928 this.core_vpn_single_signup_step2_setup_2_total = new Counter<WebCoreVpnSingleSignupStep2Setup2Total>(
929 { name: 'web_core_vpn_single_signup_step2_setup_2_total', version: 1 },
933 this.core_vpn_single_signup_step2_setup_3_total = new Counter<WebCoreVpnSingleSignupStep2Setup3Total>(
934 { name: 'web_core_vpn_single_signup_step2_setup_3_total', version: 1 },
938 this.core_vpn_single_signup_step2_setup_total = new Counter<WebCoreVpnSingleSignupStep2SetupTotal>(
939 { name: 'web_core_vpn_single_signup_step2_setup_total', version: 1 },
943 this.core_vpn_single_signup_step3_complete_2_total = new Counter<WebCoreVpnSingleSignupStep3Complete2Total>(
944 { name: 'web_core_vpn_single_signup_step3_complete_2_total', version: 1 },
948 this.core_vpn_single_signup_step3_complete_total = new Counter<WebCoreVpnSingleSignupStep3CompleteTotal>(
949 { name: 'web_core_vpn_single_signup_step3_complete_total', version: 1 },
953 this.core_vpn_single_signup_step4_orgSetup_total = new Counter<WebCoreVpnSingleSignupStep4OrgSetupTotal>(
954 { name: 'web_core_vpn_single_signup_step4_orgSetup_total', version: 1 },
958 this.core_vpn_single_signup_step4_setup_2_total = new Counter<WebCoreVpnSingleSignupStep4Setup2Total>(
959 { name: 'web_core_vpn_single_signup_step4_setup_2_total', version: 1 },
963 this.core_vpn_single_signup_step4_setup_total = new Counter<WebCoreVpnSingleSignupStep4SetupTotal>(
964 { name: 'web_core_vpn_single_signup_step4_setup_total', version: 1 },
968 this.core_webvitals_total = new Counter<HttpsProtonMeWebCoreWebvitalsTotalV1SchemaJson>(
969 { name: 'web_core_webvitals_total', version: 1 },
973 this.crypto_keytransparency_errors_total = new Counter<WebCryptoKeyTransparencyErrorsTotal>(
974 { name: 'web_crypto_keytransparency_errors_total', version: 1 },
978 this.drive_download_mechanism_success_rate_total =
979 new Counter<HttpsProtonMeWebDriveDownloadMechanismSuccessRateTotalV1SchemaJson>(
980 { name: 'web_drive_download_mechanism_success_rate_total', version: 1 },
984 this.drive_performance_averagetimeperitem_histogram =
985 new Histogram<HttpsProtonMeWebDrivePerformanceAveragetimeperitemHistogramV1SchemaJson>(
986 { name: 'web_drive_performance_averagetimeperitem_histogram', version: 1 },
990 this.drive_performance_clicktobootstrapped_histogram =
991 new Histogram<HttpsProtonMeWebDrivePerformanceClicktobootstrappedHistogramV1SchemaJson>(
992 { name: 'web_drive_performance_clicktobootstrapped_histogram', version: 1 },
996 this.drive_performance_clicktofirstitemrendered_histogram =
997 new Histogram<HttpsProtonMeWebDrivePerformanceClicktofirstitemrenderedHistogramV1SchemaJson>(
998 { name: 'web_drive_performance_clicktofirstitemrendered_histogram', version: 1 },
1002 this.drive_performance_clicktofirstpagerendered_histogram =
1003 new Histogram<HttpsProtonMeWebDrivePerformanceClicktofirstpagerenderedHistogramV1SchemaJson>(
1004 { name: 'web_drive_performance_clicktofirstpagerendered_histogram', version: 1 },
1008 this.drive_performance_clicktolastitemrendered_histogram =
1009 new Histogram<HttpsProtonMeWebDrivePerformanceClicktolastitemrenderedHistogramV1SchemaJson>(
1010 { name: 'web_drive_performance_clicktolastitemrendered_histogram', version: 1 },
1014 this.drive_performance_clicktonavrendered_histogram =
1015 new Histogram<HttpsProtonMeWebDrivePerformanceClicktonavrenderedHistogramV1SchemaJson>(
1016 { name: 'web_drive_performance_clicktonavrendered_histogram', version: 1 },
1020 this.drive_performance_domcontentloaded_histogram =
1021 new Histogram<HttpsProtonMeWebDrivePerformanceDomcontentloadedHistogramV1SchemaJson>(
1022 { name: 'web_drive_performance_domcontentloaded_histogram', version: 1 },
1026 this.drive_performance_load_histogram =
1027 new Histogram<HttpsProtonMeWebDrivePerformanceLoadHistogramV1SchemaJson>(
1028 { name: 'web_drive_performance_load_histogram', version: 1 },
1032 this.drive_public_share_load_error_total =
1033 new Counter<HttpsProtonMeWebDrivePublicShareLoadErrorTotalV1SchemaJson>(
1034 { name: 'web_drive_public_share_load_error_total', version: 1 },
1038 this.drive_public_share_load_success_total =
1039 new Counter<HttpsProtonMeWebDrivePublicShareLoadSuccessTotalV1SchemaJson>(
1040 { name: 'web_drive_public_share_load_success_total', version: 1 },
1044 this.mail_performance_email_content_render_time_histogram = new Histogram<EmailContentRenderTime>(
1045 { name: 'web_mail_performance_email_content_render_time_histogram', version: 1 },
1049 this.mail_performance_email_list_display_time_histogram = new Histogram<EmailListDisplayTime>(
1050 { name: 'web_mail_performance_email_list_display_time_histogram', version: 1 },
1054 this.mail_performance_page_transition_time_histogram = new Histogram<PageTransitionTime>(
1055 { name: 'web_mail_performance_page_transition_time_histogram', version: 1 },
1059 this.payments_subscription_steps_total = new Counter<WebPaymentsSubscriptionStepsTotal>(
1060 { name: 'web_payments_subscription_steps_total', version: 1 },
1064 this.payments_subscription_total = new Counter<WebPaymentsSubscriptionTotal>(
1065 { name: 'web_payments_subscription_total', version: 1 },
1071 export default Metrics;