report.put("metrics", MetricUtils.mapAllFiltered(metricRegistry.getMetrics(), METRICS_BLACKLIST));
report.put("statistics", buildStatistics());
String json = objectMapper.writeValueAsString(report);
postBody = new GzipCompressingEntity(new StringEntity(json, Charsets.UTF_8));
} catch (JsonProcessingException e) {
LOG.error("Telemetry is activated but sending failed.", e);
return;
}