Improve performance of /rest/flows/exporters endpoint

Description

In large installations, it can take several minutes to respond to queries made to the /rest/flows/exporters endpoint.

The default behavior of this endpoint is to list the unique exporters which have 1+ flows in the flow repository in the last 24 hours.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Christian Pape May 29, 2018 at 1:04 PM

fooker April 12, 2018 at 12:57 PM

There is request caching for aggregations in ES (https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-request-cache.html). If we don't do time ranges, this reduces the query time a lot.

Fixed

Details

Assignee

Reporter

Labels

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created March 27, 2018 at 8:41 PM
Updated June 3, 2019 at 8:05 AM
Resolved June 6, 2018 at 3:16 PM