169170171172173174175176177178179
EventDSL event = riemann.event(); if (c.localHost != null) { event.host(c.localHost); } if (!c.tags.isEmpty()) { event.tags(c.tags); } return event; } // The service name for a given metric.
253254255256257258259260261262263
} if (ttl != null) { event.ttl(ttl); } if (!tags.isEmpty()) { event.tags(tags); } final StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); sb.append(separator);