Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-5125

Activate KPI statistics feature for on-premise clients

    • Medium
    • Hide
      KPI statistics for Levenshtein distance and post-editing time will be enabled now by default and may require significant processing time on large databases. They can run automatically during an update or be triggered manually alongside the active installation.
      To skip automatic statistics generation during update, set:
      resources.db.statistics.enabled = 0
      in installation.ini before starting the update.
      To generate statistics manually after the update, set the flag to 1 and run:
      statistics:sqlite:init --aggregate.

      Note for installations with statistics already enabled (resources.db.statistics.enabled = 1):
      Starting with this release, the default statistics engine has been changed to sqlite. If you want to continue using the previous default (mariadb), add the following to your installation.ini:
      resources.db.statistics.engine = "mariadb"
      Show
      KPI statistics for Levenshtein distance and post-editing time will be enabled now by default and may require significant processing time on large databases. They can run automatically during an update or be triggered manually alongside the active installation. To skip automatic statistics generation during update, set: resources.db.statistics.enabled = 0 in installation.ini before starting the update. To generate statistics manually after the update, set the flag to 1 and run: statistics:sqlite:init --aggregate. Note for installations with statistics already enabled (resources.db.statistics.enabled = 1): Starting with this release, the default statistics engine has been changed to sqlite. If you want to continue using the previous default (mariadb), add the following to your installation.ini: resources.db.statistics.engine = "mariadb"
    • Enabled KPI statistics for Levenshtein distance and post-editing time across all installations

      Problem

      New KPI statistics for Levenshtein distance and post-editing time is not activated for on-premise clients automatically

      Solution

      Implement a way to automate these manual steps:

      1/ run t5 statistics:sqlite:init
      2/ add to application/config/installation.ini

      resources.db.statistics.enabled = 1
      resources.db.statistics.engine = "SQLite"

      3/ run t5 statistics:levenshtein
      4/ run t5 statistics:aggregate

      Add activation also to installer for new installations.

            volodymyr@mittagqi.com Volodymyr Kyianenko
            volodymyr@mittagqi.com Volodymyr Kyianenko
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: