<BUG>protected void emitMetricsJson(String connectUrl, String jsonData) {</BUG><CONTEXT>.withSerializationInclusion(JsonSerialize.Inclusion.NON_NULL);}public AbstractTimelineMetricsSink() {LOG = LogFactory.getLog(this.getClass());}<extra_id_0>int timeout = getTimeoutSeconds() * 1000;HttpURLConnection connection = null;try {</CONTEXT>
protected boolean emitMetricsJson(String connectUrl, String jsonData) {