From bb9f5801da02a3ea7807db3c753d25e16852a712 Mon Sep 17 00:00:00 2001 From: Ilan Rabinovitch Date: Tue, 5 May 2020 16:30:38 -0400 Subject: [PATCH] Update metric submission end point (#109) api.datadoghq.com is Datadog's preferred submission end point for metrics. app.datadoghq.com will continue to work but does not offer a number of newer capabilities. --- .../org/coursera/metrics/datadog/transport/HttpTransport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-datadog/src/main/java/org/coursera/metrics/datadog/transport/HttpTransport.java b/metrics-datadog/src/main/java/org/coursera/metrics/datadog/transport/HttpTransport.java index 96e9d8c2..d5b62473 100644 --- a/metrics-datadog/src/main/java/org/coursera/metrics/datadog/transport/HttpTransport.java +++ b/metrics-datadog/src/main/java/org/coursera/metrics/datadog/transport/HttpTransport.java @@ -31,7 +31,7 @@ public class HttpTransport implements Transport { private static final Logger LOG = LoggerFactory.getLogger(HttpTransport.class); - private final static String BASE_URL = "https://app.datadoghq.com/api/v1"; + private final static String BASE_URL = "https://api.datadoghq.com/api/v1"; private final String seriesUrl; private final int connectTimeout; // in milliseconds private final int socketTimeout; // in milliseconds