haystack
haystack copied to clipboard
Unused method in haystack reporter class
trafficstars
HI Team,
I found method in Haystack reporter. Ii is never used for conversion of Zipkin span to haystack span is there any specific use case for this method or it is dead code.
https://github.com/ExpediaDotCom/spring-cloud-sleuth-haystack-reporter/blob/master/src/main/java/com/expedia/www/spring/cloud/sleuth/haystack/reporter/reporters/HaystackReporter.java
private Log buildLog(Long timestamp, String key, String value) { final Log.Builder logBuilder = Log.newBuilder();
logBuilder.setTimestamp(timestamp); logBuilder.addFields(buildTag(key, value));
return logBuilder.build(); }
Thanks Virendra Agarwal