Source AL, 134 lines
src/Layers/W1/BaseApp/System/Telemetry/TelemetryLogMetrics.Codeunit.allines 6 to 21 of 134, Copyright (c) Microsoft Corporation. MIT
codeunit 1352 "Telemetry Log Metrics"{ SingleInstance = true; InherentEntitlements = X; InherentPermissions = X; Access = internal; var Metrics: List of [Text]; NoOfMeasurements: Dictionary of [Text, Decimal]; SumOfMeasurements: Dictionary of [Text, Decimal]; MinMeasurements: Dictionary of [Text, Decimal]; MaxMeasurements: Dictionary of [Text, Decimal]; StartTimes: Dictionary of [Text, DateTime]; /// <summary>
All 134 lines
Events 1 in 29
| [IntegrationEvent] OnBeforeFlushMetricsToTelemetry(var SkipTelemetry: Boolean; SumOfMeasurements: Dictionary of [Text, Decimal]; NoOfMeasurements: Dictionary of [Text, Decimal]; MinMeasurements: Dictionary of [Text, Decimal]; MaxMeasurements: Dictionary of [Text, Decimal]) | new in 28 |
Public procedures 3 in 29
All 4 procedures in 17-21, 28-29
Changes 6 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | 1 | | | | | | | | | | 1 | |
|---|
| Procedures | | | | | | | | | | | | 4 | |
|---|
| Events | | | | | | | | | | | | 1 | |
|---|
| codeunit 1352 "Telemetry Log Metrics" | 17-21, 28-29 |
| no longer obsolete, was codeunit 1352 "Create Telemetry Cal. Events" |
| StartMeasureTime(MeasureName: Text): Boolean | new in 28 |
| added |
| StopMeasureTime(MeasureName: Text): Boolean | new in 28 |
| added |
| LogMeasure(MeasureName: Text; AddedValue: Decimal): Boolean | new in 28 |
| added |
| internal FlushMetricsToTelemetry(): Boolean | new in 28 |
| added |
| [IntegrationEvent] OnBeforeFlushMetricsToTelemetry(var SkipTelemetry: Boolean; SumOfMeasurements: Dictionary of [Text, Decimal]; NoOfMeasurements: Dictionary of [Text, Decimal]; MinMeasurements: Dictionary of [Text, Decimal]; MaxMeasurements: Dictionary of [Text, Decimal]) | new in 28 |
| added |
All 7 changes in 17-21, 28-29