Working version 25.11 25.08 25.05 25.02 24.11 23.11 Cloud Enterprise
Working version 25.11 25.08 25.05 25.02 24.11 23.11 Cloud Enterprise

Monitoring Microsoft Graph API

You can review the statistics logged for NexJ CRM and Graph API Broker on the Statistics page in the NexJ System Admin Console. The Statistics page is divided into two areas:

  • The Statistics list on the left, which displays a list of all components for which statistics are tracked in a tree structure.

  • The details area on the right, which displays the path and statistics for the selected component.

In the Statistics list on the left, expand the node for your NexJ application (for example, nexj.finance). Then expand a node name to view statistics for that node (for example, node 1 (current)). You can then expand Graph API Broker or Graph API Sync nodes for detailed statistics.

  • To see a more detailed description of a statistic, hover your cursor over the statistic's name. A tooltip containing the description displays.

  • To refresh the list in the Statistics area or the statistics in the details area, click the corresponding Refresh button at the top of the area.

  • Inbound refers to messages that come into NexJ CRM. These are referenced as Notifications.

  • Outbound refers to messages that are sent out by NexJ CRM. These are referenced as Requests.

Graph API Broker statistics

The following statistics specific to Graph API Broker are displayed in the NexJ System Admin Console when you navigate to nexj.finance > node1 (current) > Graph API Broker.

This list includes the JVM statistics related to Graph API Broker. They are marked as “(JVM)” in the table.

Graph API Broker gathers these statistics and periodically pushes them to NexJ CRM to be displayed in the NexJ System Admin Console. By default, they are sent from Graph API Broker to NexJ CRM every minute.

Attribute

Description

Queue depth

Number of notifications that are on the queue where Graph API pushes their requests.

Notification count

Number of notifications received and processed from Graph API.

Request count

Number of requests received from NexJ CRM.

CPU usage (%)

Total CPU usage across all cores (0–100%). (JVM)

Garbage collection count

Number of times garbage collection ran. (JVM)

Garbage collection time (ms)

Total garbage collection time in milliseconds. (JVM)

Live thread count

Number of threads that are currently alive. (JVM)

Memory usage (%)

Memory usage (0–100%) or -1 if not available. (JVM)

Total started thread count

Total number of started threads. (JVM)

Uptime (ms)

Server uptime in milliseconds. (JVM)

Inbound Graph API Broker statistics

The following statistics provide information based on the overall number of notifications received from Graph API that were pulled from Graph API Broker queue and have been processed or synchronized to NexJ CRM. To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Broker > Inbound.

Attribute

Description

Failed synchronization count

Number of notifications that failed to be processed. This includes any failures that resulted in the notification being unable to be correctly synchronized to NexJ CRM.

Successful synchronization count

Number of notifications that have successfully synchronized to NexJ CRM from Graph API through Graph API Broker.

Time to sync (ms)

Synchronization time in milliseconds. This is the total time between when a notification is pulled off the queue and when it receives a response from NexJ CRM.

Outbound Graph API Broker statistics

The following statistics provide information based on the overall number of requests received from NexJ CRM and processed or synchronized to Graph API. To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Broker > Outbound.

Attribute

Description

Failed synchronization count

Number of requests that failed to be processed. This includes any failures that resulted in the request being unable to be correctly synchronized to Graph API.

Successful synchronization count

Number of requests that have successfully synchronized to Graph API from NexJ CRM through Graph API Broker.

Time to sync (ms)

Synchronization time in milliseconds. This is the total time between when a request arrives in Graph API Broker from NexJ CRM and when it receives a response from Graph API.

Graph API synchronization statistics

The following statistics are available for monitoring synchronization from NexJ CRM to Graph API through Graph API Broker. To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Sync.

Attribute

Description

Folder lock contention (ms)

Amount of time taken to acquire an exclusive folder lock.

Folder lock timeout count

Number of timeouts due to waiting to acquire an exclusive folder lock.

Participant lock contention (ms)

Amount of time taken to acquire exclusive participant locks.

Participant lock timeout count

Number of timeouts due to waiting to acquire exclusive participant locks.

Time to sync (ms)

Time taken for an outbound change to be reflected in the external system.

Graph API synchronization server statistics

There can be multiple servers for Graph API, depending on how the synchronization is targeted.

The following statistics provide information about the server on which the Graph API resides (for example, GraphAPI server #1). To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Sync > GraphAPI server #1.

Attribute

Description

Autodiscover failed count

Number of failed autodiscover attempts.

Autodiscover success count

Number of successful autodiscover attempts.

Disabled subscription count

Number of links disabled due to errors during subscription.

Failed subscription count

Number of failed subscription attempts.

Heartbeat count

Number of heartbeats received. These notifications do not have changes and are not processed.

Notification count

Number of notifications received with changes.

Subscription count

Number of successful subscription attempts.

Inbound Graph API server statistics

The following statistics provide information based on the overall number of notifications received from Graph API Broker. To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Sync > GraphAPI server #1 > Inbound.

You can then select one of the following components: ScheduleItem, ScheduleItemSeries, or Task. All components display the same statistics.

Attribute

Description

Blocked item count

Number of items added to the block list due to exceeding item thresholds.

Failed synchronization count

Number of failed synchronization attempts.

Process changes time (ms)

Amount of time taken to process changes from the external system.

Read changes time (ms)

Amount of time taken to read changes from the external system.

Successful synchronization (%)

Percentage of synchronization attempts that were successful.

Successful synchronization count

Number of successful item synchronizations.

Synchronization time (ms)

Synchronization time in milliseconds.

Threshold exceeded item count

Number of items excluded from synchronization due to exceeding item thresholds.

Outbound Graph API synchronization statistics

The following statistics provide information based on the overall number of requests send to Graph API Broker. To view them in the NexJ System Admin Console, on the Statistics page, navigate to nexj.finance > node1 (current) > Graph API Sync > GraphAPI server #1 > Outbound.

You can then select one of the following components: Person, ScheduleItem, ScheduleItemSeries, or Task.

For the Person component, the following statistics are displayed.

Attribute

Description

Failed synchronization count

Number of failed synchronization attempts.

Successful synchronization (%)

Percentage of synchronization attempts that were successful.

Successful synchronization count

Number of successful item synchronizations.

Synchronization time (ms)

Synchronization time in milliseconds.

Write changes time (ms)

Amount of time taken to write changes to the external system.

For the ScheduleItem, ScheduleItemSeries, and Task components, the following statistics are displayed. These components all display the same statistics.

Attribute

Description

Blocked item count

Number of items added to the block list due to exceeding item thresholds.

Failed synchronization count

Number of failed synchronization attempts.

Successful synchronization (%)

Percentage of synchronization attempts that were successful.

Successful synchronization count

Number of successful item synchronizations.

Synchronization time (ms)

Synchronization time in milliseconds.

Threshold exceeded item count

Number of items excluded from synchronization due to exceeding item thresholds.

Write changes time (ms)

Amount of time taken to write changes to the external system.