You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-prepper-plugins/saas-source-plugins/microsoft-office365-source/src/main/java/org/opensearch/dataprepper/plugins/source/microsoft_office365/Office365RestClient.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,7 +269,6 @@ public AuditLogsResponse searchAuditLogs(final String contentType,
269
269
);
270
270
} catch (Exceptione) {
271
271
metricsRecorder.recordError(e);
272
-
metricsRecorder.recordSearchFailure();
273
272
log.error(NOISY, "Error while fetching audit logs for content type {} from URL: {}",
274
273
contentType, url, e);
275
274
thrownewSaaSCrawlerException("Failed to fetch audit logs", e, true);
@@ -314,7 +313,6 @@ public String getAuditLog(String contentUri) {
314
313
returnresponse;
315
314
} catch (Exceptione) {
316
315
metricsRecorder.recordError(e);
317
-
metricsRecorder.recordGetFailure();
318
316
log.error(NOISY, "Error while fetching audit log content from URI: {}", contentUri, e);
319
317
thrownewSaaSCrawlerException("Failed to fetch audit log", e, true);
Copy file name to clipboardExpand all lines: data-prepper-plugins/saas-source-plugins/microsoft-office365-source/src/test/java/org/opensearch/dataprepper/plugins/source/microsoft_office365/Office365RestClientTest.java
0 commit comments