Package com.wavefront.agent.channel
Class SharedGraphiteHostAnnotator
- java.lang.Object
-
- com.wavefront.agent.channel.SharedGraphiteHostAnnotator
-
@Sharable public class SharedGraphiteHostAnnotator extends Object
Given a raw Graphite/Wavefront line, look for any host tag, and add it if implicit. Differences from GraphiteHostAnnotator: - sharable - lazy load - does not proactively perform rDNS lookups unless needed - can be applied to HTTP payloads- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description SharedGraphiteHostAnnotator(List<String> customSourceTags, Function<InetAddress,String> hostnameResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(io.netty.channel.ChannelHandlerContext ctx, String msg)
-