public class WhiteListBasedConverter extends Object implements DruidToGraphiteEventConverter
| Constructor and Description | 
|---|
WhiteListBasedConverter(String namespacePrefix,
                       Boolean ignoreHostname,
                       Boolean ignoreServiceName,
                       Boolean replaceSlashWithDot,
                       String mapPath,
                       com.fasterxml.jackson.databind.ObjectMapper mapper)  | 
| Modifier and Type | Method and Description | 
|---|---|
GraphiteEvent | 
druidEventToGraphite(ServiceMetricEvent serviceMetricEvent)
This function acts as a filter. 
 | 
boolean | 
equals(Object o)  | 
String | 
getNamespacePrefix()  | 
com.google.common.collect.ImmutableSortedMap<String,com.google.common.collect.ImmutableSet<String>> | 
getWhiteListDimsMapper()  | 
int | 
hashCode()  | 
boolean | 
isIgnoreHostname()  | 
boolean | 
isIgnoreServiceName()  | 
boolean | 
replaceSlashWithDot()  | 
public boolean isIgnoreHostname()
public boolean isIgnoreServiceName()
public String getNamespacePrefix()
public boolean replaceSlashWithDot()
public com.google.common.collect.ImmutableSortedMap<String,com.google.common.collect.ImmutableSet<String>> getWhiteListDimsMapper()
public GraphiteEvent druidEventToGraphite(ServiceMetricEvent serviceMetricEvent)
DruidToGraphiteEventConverterdruidEventToGraphite in interface DruidToGraphiteEventConverterserviceMetricEvent - druid metric event to convertGraphiteEvent
 
 The metric path of the graphite event is:
 getOrderedDimValues()
 Note that this path will be sanitized by replacing all the `.` or space by `_` GraphiteEmitter.sanitize(String)
 
Copyright © 2011–2018. All rights reserved.