UNPKG

1.4 kBJavaScriptView Raw
1"use strict";
2/*
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 * Licensed under the MIT License.
5 */
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.TENANT_PLACEHOLDER = exports.TELEMETRY_BLOB_EVENT_NAMES = exports.ELAPSED_TIME_KEY = exports.START_TIME_KEY = exports.EVENT_NAME_KEY = exports.EVENT_NAME_PREFIX = void 0;
8exports.EVENT_NAME_PREFIX = "msal.";
9exports.EVENT_NAME_KEY = "event_name";
10exports.START_TIME_KEY = "start_time";
11exports.ELAPSED_TIME_KEY = "elapsed_time";
12exports.TELEMETRY_BLOB_EVENT_NAMES = {
13 MsalCorrelationIdConstStrKey: "Microsoft.MSAL.correlation_id",
14 ApiTelemIdConstStrKey: "msal.api_telem_id",
15 ApiIdConstStrKey: "msal.api_id",
16 BrokerAppConstStrKey: "Microsoft_MSAL_broker_app",
17 CacheEventCountConstStrKey: "Microsoft_MSAL_cache_event_count",
18 HttpEventCountTelemetryBatchKey: "Microsoft_MSAL_http_event_count",
19 IdpConstStrKey: "Microsoft_MSAL_idp",
20 IsSilentTelemetryBatchKey: "",
21 IsSuccessfulConstStrKey: "Microsoft_MSAL_is_successful",
22 ResponseTimeConstStrKey: "Microsoft_MSAL_response_time",
23 TenantIdConstStrKey: "Microsoft_MSAL_tenant_id",
24 UiEventCountTelemetryBatchKey: "Microsoft_MSAL_ui_event_count"
25};
26// This is used to replace the real tenant in telemetry info
27exports.TENANT_PLACEHOLDER = "<tenant>";
28//# sourceMappingURL=TelemetryConstants.js.map
\No newline at end of file