public class SendAllGraphiteEventConverter extends Object implements DruidToGraphiteEventConverter
ServiceMetricEvent
.
All the dimensions will be retained and lexicographically order using dimensions name.
The metric path of the graphite event is:
Note that this path will be sanitized by replacing all the `.` or `space` to `_` GraphiteEmitter.sanitize(String)
Constructor and Description |
---|
SendAllGraphiteEventConverter(String namespacePrefix,
Boolean ignoreHostname,
Boolean ignoreServiceName) |
Modifier and Type | Method and Description |
---|---|
GraphiteEvent |
druidEventToGraphite(com.metamx.emitter.service.ServiceMetricEvent serviceMetricEvent)
This function acts as a filter.
|
boolean |
equals(Object o) |
String |
getNamespacePrefix() |
int |
hashCode() |
boolean |
isIgnoreHostname() |
boolean |
isIgnoreServiceName() |
public String getNamespacePrefix()
public boolean isIgnoreServiceName()
public boolean isIgnoreHostname()
public GraphiteEvent druidEventToGraphite(com.metamx.emitter.service.ServiceMetricEvent serviceMetricEvent)
DruidToGraphiteEventConverter
druidEventToGraphite
in interface DruidToGraphiteEventConverter
serviceMetricEvent
- Druid event ot type ServiceMetricEvent
GraphiteEvent
or nullCopyright © 2011–2017. All rights reserved.