parent
5ceb18414a
commit
6fce69bbac
|
@ -56,7 +56,7 @@ public class JsonMetricsReporter extends ScheduledReporter {
|
||||||
SortedMap<String, Timer> stringTimerSortedMap)
|
SortedMap<String, Timer> stringTimerSortedMap)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
logger.info("Reporting metrics...");
|
logger.debug("Reporting metrics...");
|
||||||
URL url = new URL("https", hostname, 443, String.format("/report/metrics?t=%s&h=%s", token, host));
|
URL url = new URL("https", hostname, 443, String.format("/report/metrics?t=%s&h=%s", token, host));
|
||||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue