Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6289 Improve performance of KPI Overview endpoint
  3. OPT-6324

Retrieve results for the kpi values from the fields in ES

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 3.9.0, 3.9.0-alpha4
    • None
    • None
    • None
    • Not defined

    Description

      Description

      Currently the KpiService, calculates the values of every individual kpi whenever a the endpoint is being invoke. Since now in ES we have a new field called "lastKpiEvaluationResult" in the ProcessOverviewIndex we can simply do a look up there and fetch the last kpi value.

      Edge Cases
      We need to find a solution for what happens whenever we create a new report as set it as a kpi, which doesnt exist in ES yet, as this will cause the endpoint not to return it until the next interval

      AT:

      • The KpiService fetched the values from ES for the report KPIs
      • The KpiService inserts a kpi value to ES in case it doesnt exist there

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              andromachi.rozaki Andromachi Rozaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce