Thursday, 22 August 2024

Enhancing System Performance with SysGlobalTelemetry in D365 FO

https://community.dynamics.com/blogs/post/?postid=a3657cea-c020-4418-a3d2-a48933fb43fd

         
SysGlobalTelemetry::logTrace(str _traceMessage)

The SysGlobalTelemetry::logTrace method allows you t

Enhancing System Performance with SysGlobalTelemetry:

To log trace-level messages. This is particularly useful for debugging complex issues by providing granular details about code execution and system state.

SysGlobalTelemetry::logEvent(str _eventName )

You can use methods like logEvent to capture specific system events or user actions. This helps track important activities and understand their impact on system performance.

SysGlobalTelemetry::logMetric(Str metricName, real _metricValue)

SysGlobalTelemetry::logMetric is used to log custom metrics related to system performance or usage. Unlike trace logging, which captures detailed execution paths and debugging information, metric logging focuses on capturing quantitative data that can be used to monitor system performance and usage patterns.

No comments:

Post a Comment

Display Method Data Not Showing in Query-Based SSRS Reports in D365 FO

 While working on a Query-Based SSRS Report in Dynamics 365 Finance & Operations, I faced an issue where a display method added through ...