public class SendAllTimelineEventConverter extends Object implements DruidToTimelineMetricConverter
ServiceMetricEvent.
 All the dimensions will be retained and lexicographically order using dimensions name.
 The metric name of the timeline event is:
  
 Note that this name will be sanitized by replacing all the `.` or `space` to `_` AmbariMetricsEmitter.sanitize(String)
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_APP_NAME  | 
| Constructor and Description | 
|---|
SendAllTimelineEventConverter(String namespacePrefix,
                             String appName)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.hadoop.metrics2.sink.timeline.TimelineMetric | 
druidEventToTimelineMetric(ServiceMetricEvent serviceMetricEvent)
This function acts as a filter. 
 | 
boolean | 
equals(Object o)  | 
String | 
getNamespacePrefix()  | 
int | 
hashCode()  | 
public static final String DEFAULT_APP_NAME
public String getNamespacePrefix()
public org.apache.hadoop.metrics2.sink.timeline.TimelineMetric druidEventToTimelineMetric(ServiceMetricEvent serviceMetricEvent)
DruidToTimelineMetricConverterdruidEventToTimelineMetric in interface DruidToTimelineMetricConverterserviceMetricEvent - Druid event ot type ServiceMetricEventTimelineMetric or nullCopyright © 2011–2018. All rights reserved.