Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable the WSO2 DAS to print the TPS in the CLI logs, configure the following properties when you start the DAS server.

PropertyDescription
-DprofilePersistenceTo enable WSO2 DAS to print the TPS in the CLI logs, this property should be set to true. The TPS is calculated a printed for the number of events specified for the persistenceStatsCutoff property (described below).
-DpersistenceStatsCutoff

This parameter specifies the number of events for which the TPS should be printed in the CLI logs.

e.g., If -DpersistenceStatsCutoff=1000, the TPS is printed in the logs for every 1000 events processed by WSO2 DAS.

If this property is not configured when -DprofilePersistence property is set to true, the TPS is printed for every 100000 events.


Example

You can enable WSO2 DAS to print TPS for every 1000 events as follows:

...