Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-95069

More than 10k records the metrics data, not working rightly

    Details

      Description

      Setup

      • Under Control Panel > Workflow > Process Builder, create a new Workflow (named Single Approver Test) and assign asset type Blog Entry to it;

      Step-by-Step:

      1. Go to Control Panel > Workflow > Metrics;
      2. Create one SLA for Single Approver Test with 2 min duration time;
      3. Perform the script (./createBlogContent.sh 10000) to create 10k of blogs
      4. Access the Single Approver Test Workflow to see the report page of the process

      Actual result:
      The cards show one error of the elastic search, related to the high numbers. So the numbers are not exact, with losing data approximately... (1 to 6%)
      https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html

      Expected:
      The numbers should be truncate for every 1000 values... for example, 1000 is 1k... 10100 is 10.1k

      Environment: master-private (Liferay DXP 7.2 EE) http://192.168.109.41:7200/
      Commit: 5ee80323c198117205b727bd3a744c8eac243d1d
      Base Branch Commit: 7b451da9e3f24e003200c95753ad5744eb429350
      Updated on: Tue Apr 23 19:45:43 2019 -0700

      Evidence:

       

      Browsers:

      • Firefox Latest
      • Chrome Latest
      • EDGE Latest
      • IE 11

        Attachments

        1. createBlogContent.sh
          0.6 kB
        2. Evidence-LPS-94672.png
          Evidence-LPS-94672.png
          191 kB
        3. LPS-95069_retest.png
          LPS-95069_retest.png
          213 kB

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              cleyton.magalhaes Cleyton Magalhaes
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Inácio Nery
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                27 weeks, 6 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                Master