|
Statistics are only provided for completed services. A service that has not finished executing will not be included in the statistics.
|
Parameter
|
Default
|
Description
|
||
---|---|---|---|---|
Enable Time Statistics
|
false
|
When enabled, the platform collects statistics. When disabled, the services do not return statistics.
|
||
Enable Memory Size Statistics
|
false
|
When enabled, the platform collects memory size statistics. When disabled, the services do note return statistics.
|
||
Show Time Statistics
|
true
|
Displays time statistics
|
||
Show Memory Size Statistics
|
false
|
Displays memory size statistics
|
||
Enable Entity Name Aggregation
|
true
|
If multiple entities are using the same service, aggregated statistics for the services are displayed.
|
||
Show Percentiles
|
false
|
Displays additional statistics for percentiles in the configuration table.
|
|
Enable Statistics Persistence configuration is not available in utilization subsystem. On an upgraded system, persisted logs up to the point of the upgrade will be available in the database and can be queried. After the upgrade, Statistics Persistence is not available, and the latest statistics will not be retained after a ThingWorx Platform restart. PTC recommends using the write to file services, such as WriteEntityServiceStatisticsReport, WriteEntityStatisticsReport, and so on.
|
Service
|
Description
|
||
---|---|---|---|
GetAuthenticationStatistics
|
Returns data on how many authentications occurred for any given authentication type and if they were successful or if they failed. Authentication types include Form login, HTTP Basic, application key, SSO, and custom authenticators.
|
||
GetEntityServiceStatistics
|
Returns the min, max, mean, counts of service executions for each entity.
|
||
GetEntityStatistics
|
Returns a combo of the statistics in the GetEntityServiceStatistics and GetEntitySubscriptionStatistics services.
|
||
GetEntitySubscriptionStatistics
|
Returns the time and/or memory size statistics (minimum, maximum, average, count) for executing subscriptions on events for entities.
|
||
GetPropertyVTQCount
|
Returns the count of properties specified by the query criteria. See Using the GetPropertyVTQCount Service for more information.
|
||
GetQueryStatistics
|
Returns the query statistics. See Query Statistics for more information.
|
||
GetStatistics
|
Returns all the statistics in the GetEntityServiceStatistics, GetEntitySubscriptionStatistics, and GetAuthenticationStatistics services. Includes minimum time, maximum time, mean time, and count for each executed service. Subscriptions may include memory statistics, too.
|
||
ResetAuthenticationStatistics
|
Resets the authentication statistics.
|
||
ResetEntityServiceStatistics
|
Resets entity service statistics.
|
||
ResetEntityStatistics
|
Resets entity statistics.
|
||
ResetQueryStatistics
|
Resets query statistics. See Query Statistics for more information.
|
||
ResetStatistics
|
Resets all statistics.
|
||
ResetEntitySubscriptionStatistics
|
Resets the subscription statistics for an entity.
|
||
WriteAuthenticationStatisticsReport
|
Writes a uniquely-named CSV file to the following location: ThingworxStorage/reports/UtilizationStatistics
|
||
WriteEntityServiceStatisticsReport
|
Writes a uniquely-named CSV file to the following location: ThingworxStorage/reports/UtilizationStatistics
|
||
WriteEntityStatisticsReport
|
Writes a uniquely-named CSV file to the following location: ThingworxStorage/reports/UtilizationStatistics
|
||
WriteEntitySubscriptionStatisticsReport
|
Writes a uniquely-named CSV file to the following location: ThingworxStorage/reports/UtilizationStatistics
|
||
WriteQueryStatisticsReport
|
Writes the query statistics. See Query Statistics for more information.
|
||
WriteStatisticsReport
|
Writes a uniquely-named CSV file to the following location: ThingworxStorage/reports/UtilizationStatistics
|
|
By default the script timeout setting on the ThingWorx platform is 30 seconds. If a script runs longer than this, the platform terminates the execution. A ThingWorx administrator can configure the script timeout in the Basic Settings section of the platform-settings.json configuration file. See also platform-settings.json Configuration Details.
|