Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-4449

Use Auto-Interval date histograms instead of interval aggs for automatic date reorts

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • backend
    • Not defined

    Description

      Context:

      Elasticsearch offers the ability to create "auto-interval date histrograms" which let you specify a number of buckets. ES then chooses the bucket unit that best achieves this amount of buckets. 

      We can use this type of histogram instead of our current automatic interval aggregation creation (see DateAggregationService.createAutomaticIntervalAggregationWithSubAggregation) where we manually calculate the exact bucket interval needed to create 80 buckets, lets refactor this to use auto-interval date histrograms instead 

      Docs: https://www.elastic.co/guide/en/elasticsearch/reference/7.x/search-aggregations-bucket-autodatehistogram-aggregation.html 

      AT:

      • date reports with automatic units use auto-interval date histograms with bucket number set to NUMBER_OF_DATA_POINTS_FOR_AUTOMATIC_INTERVAL_SELECTION

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce