Class PlatformElasticMetricsReportRunner
java.lang.Object
com.flowable.core.service.reporting.impl.runner.AbstractReportRunner
com.flowable.core.service.reporting.impl.runner.ElasticMetricsReportRunner
com.flowable.platform.service.reports.PlatformElasticMetricsReportRunner
- All Implemented Interfaces:
ReportRunner, Ordered
- Author:
- Filip Hrisafov
-
Field Summary
FieldsFields inherited from class ElasticMetricsReportRunner
elasticConfig, httpClient, objectMapperFields inherited from class AbstractReportRunner
REPORT_TEMPLATE_QUERY_EXTENSION, REPORT_TEMPLATE_QUERY_PREFIX, templateLoaderFields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionPlatformElasticMetricsReportRunner(io.micrometer.elastic.ElasticConfig elasticConfig, io.micrometer.core.ipc.http.HttpSender httpSender, TemplateLoader templateLoader, tools.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility) -
Method Summary
Modifier and TypeMethodDescriptionprotected ReportResultbuildPercentageDataPoints(tools.jackson.databind.JsonNode reportResult, String numeratorMetric, List<String> denominatorMetrics) intgetOrder()protected ReportResultprocessJsonWithBucketAggregations(tools.jackson.databind.JsonNode reportResult, ReportConfiguration report) protected StringMethods inherited from class ElasticMetricsReportRunner
canRun, prepareParameters, runMethods inherited from class AbstractReportRunner
collectBuckets, collectBuckets, collectBuckets, convertBucketToDataPoint, getGroupByFromBucket, getQueryTemplate, getTemplate, isRawReport, mapAggregateToCalendarInterval
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
elasticsearchCompatibility
-
-
Constructor Details
-
PlatformElasticMetricsReportRunner
public PlatformElasticMetricsReportRunner(io.micrometer.elastic.ElasticConfig elasticConfig, io.micrometer.core.ipc.http.HttpSender httpSender, TemplateLoader templateLoader, tools.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)
-
-
Method Details
-
searchUri
- Overrides:
searchUriin classElasticMetricsReportRunner
-
compatibility
- Overrides:
compatibilityin classElasticMetricsReportRunner
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceOrdered- Overrides:
getOrderin classElasticMetricsReportRunner
-
processJsonWithBucketAggregations
protected ReportResult processJsonWithBucketAggregations(tools.jackson.databind.JsonNode reportResult, ReportConfiguration report) - Overrides:
processJsonWithBucketAggregationsin classAbstractReportRunner
-
buildPercentageDataPoints
protected ReportResult buildPercentageDataPoints(tools.jackson.databind.JsonNode reportResult, String numeratorMetric, List<String> denominatorMetrics)
-