public class DruidMetrics extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DATASOURCE |
static String |
ID |
static String |
INTERVAL |
static String |
SERVER |
static String |
STATUS |
static String |
TASK_STATUS |
static String |
TASK_TYPE |
static String |
TYPE |
Constructor and Description |
---|
DruidMetrics() |
Modifier and Type | Method and Description |
---|---|
static int |
findNumComplexAggs(List<AggregatorFactory> aggs) |
static <T> com.metamx.emitter.service.ServiceMetricEvent.Builder |
makePartialQueryTimeMetric(Query<T> query) |
static <T> com.metamx.emitter.service.ServiceMetricEvent.Builder |
makeQueryTimeMetric(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
Query<T> query,
String remoteAddr) |
public static final String DATASOURCE
public static final String TYPE
public static final String INTERVAL
public static final String ID
public static final String STATUS
public static final String TASK_TYPE
public static final String TASK_STATUS
public static final String SERVER
public static int findNumComplexAggs(List<AggregatorFactory> aggs)
public static <T> com.metamx.emitter.service.ServiceMetricEvent.Builder makePartialQueryTimeMetric(Query<T> query)
public static <T> com.metamx.emitter.service.ServiceMetricEvent.Builder makeQueryTimeMetric(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, Query<T> query, String remoteAddr) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2011–2015. All rights reserved.