|
Statistics are only provided for completed services. If a service has not finished executing, it will not be included in the statistics.
|
Parameter
|
Default
|
Description
|
||
---|---|---|---|---|
Enable Statistics
|
false
|
When enabled, the platform collects statistics. When disabled, the services do not return 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
|
false
|
When enabled, and the server is restarted, all run time statistics are retained. Data is retained after restarts of the platform.
|
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 statistics (minimum, maximum, average, total time) 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.
|
||
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.
|