GridWorX - New Diagnostic Counters

 

Starting in 10.95.3, the GridWorX point manager now includes diagnostic information exposed as tags similar to those originally implemented in the FrameWorX Server. At the root level, the GridWorX point manager now exposes two diagnostic points:

@@TotalCacheSize - The current total size of items in the cache.*

@@TotalCachedItemsCount - The total number of items in the cache.

 

Data sources now expose an extra folder along with "Columns" and "Data Items" called "@@Diagnostics". This new folder contains a few diagnostic points:

@@CachedItemsCount - The number of cached items for the data source. If the data source accepts parameters, parameters do not have to be included.

o Example: db:connection.source.@@CachedItemsCount

@@CacheSize - The size of all the items stored in the cache for the data source.* If the data source accepts parameters, parameters do not have to be included

o Example: db:connection.source.@@CacheSize

@@LastCallStatus - The status of the last (or current, if executing) call. Possible values are: Succeeded, Running, Failed, Timed Out. Please note that "Timed Out" is only returned when connecting to SQL Server; a timeout with other connection types will be reported as "Failed". If the web service accepts parameters, parameters do have to be included.

o Example: db:connection.source<@p1=1, @p2=2>.@@LastCallStatus

@@LastCallStatusCode - Same as @@LastCallStatus but represented as an integer code. Values are 0 (Succeed), 1 (Running), 2 (Failed), 3 (TimedOut). If the data source accepts parameters, parameters do have to be included.

o Example: db:connection.source<@p1=1, @p2=2>.@@LastCallStatusCode

@@LastError - The last error that occurred during the method execution or null if there was no error. (Note, this point is not exposed by default. To enable it, go to Platform Services Configuration > Point Managers tab, select the GridWorX Point Manager, and set EnableErrorDetailsDiagnosticPoints to true.) If the data source accepts parameters, parameters do have to be included

o Example: db:connection.source<@p1=1, @p2=2>.@@LastError

 

* Cache size points are returned in bytes; however, they are only an approximation of the actual memory consumed by the cached items.