Skip to content

Commit

Permalink
Merge pull request #5637 from ant-media/fix/issue-5222
Browse files Browse the repository at this point in the history
Integrate an Exception Monitoring System
  • Loading branch information
lastpeony authored Oct 12, 2023
2 parents e324cbd + 90caef7 commit 986622a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/antmedia/logger/AntmediaAppender.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void sendErrorToAnalytic(IThrowableProxy throwbleProxy) {

RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(2 * 1000).setSocketTimeout(5*1000).build();

HttpRequestBase post = (HttpRequestBase)RequestBuilder.post().setUri("https://us-central1-ant-media-server-analytics.cloudfunctions.net/sendErrorDetail")
HttpRequestBase post = (HttpRequestBase)RequestBuilder.post().setUri("https://log-api.eu.newrelic.com/log/v1?Api-Key=eu01xx03e8e936f6760014346295526cFFFFNRAL")
.setHeader(HttpHeaders.CONTENT_TYPE, "application/json")
.setEntity(new StringEntity(instance.toString())).build();

Expand All @@ -117,4 +117,4 @@ public int getNumberOfCalls() {
return numberOfCalls;
}

}
}

0 comments on commit 986622a

Please sign in to comment.