UNPKG

@azure/monitor-opentelemetry

Version:
39 lines 1.98 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * Disable Standard Metrics environment variable name. */ export const APPLICATION_INSIGHTS_NO_STANDARD_METRICS = "APPLICATION_INSIGHTS_NO_STANDARD_METRICS"; export var PerformanceCounterMetricNames; (function (PerformanceCounterMetricNames) { PerformanceCounterMetricNames["PRIVATE_BYTES"] = "Private_Bytes"; PerformanceCounterMetricNames["AVAILABLE_BYTES"] = "Available_Bytes"; PerformanceCounterMetricNames["PROCESSOR_TIME"] = "Processor_Time"; PerformanceCounterMetricNames["PROCESS_TIME_STANDARD"] = "Process_Time_Standard"; PerformanceCounterMetricNames["REQUEST_RATE"] = "Request_Rate"; PerformanceCounterMetricNames["REQUEST_DURATION"] = "Request_Execution_Time"; PerformanceCounterMetricNames["PROCESS_TIME_NORMALIZED"] = "Process_Time_Normalized"; PerformanceCounterMetricNames["EXCEPTION_RATE"] = "Exception_Rate"; })(PerformanceCounterMetricNames || (PerformanceCounterMetricNames = {})); export const StandardMetricPropertyNames = { cloudRoleInstance: "cloud/roleInstance", cloudRoleName: "cloud/roleName", operationSynthetic: "operation/synthetic", requestSuccess: "Request.Success", requestResultCode: "request/resultCode", dependencyType: "Dependency.Type", dependencyTarget: "dependency/target", dependencySuccess: "Dependency.Success", dependencyResultCode: "dependency/resultCode", traceSeverityLevel: "trace/severityLevel", metricId: "_MS.MetricId", IsAutocollected: "_MS.IsAutocollected", }; export var StandardMetricIds; (function (StandardMetricIds) { StandardMetricIds["REQUEST_DURATION"] = "requests/duration"; StandardMetricIds["DEPENDENCIES_DURATION"] = "dependencies/duration"; StandardMetricIds["EXCEPTIONS_COUNT"] = "exceptions/count"; StandardMetricIds["TRACES_COUNT"] = "traces/count"; })(StandardMetricIds || (StandardMetricIds = {})); //# sourceMappingURL=types.js.map