newrelic-telemetry-sdk-java icon indicating copy to clipboard operation
newrelic-telemetry-sdk-java copied to clipboard

Not handled error response codes by BatchDataSender

Open Sidburse opened this issue 2 years ago • 3 comments

Response codes 400, 403, 404, 405 and 411 are not handled separately by the BatchDataSender. Instead a common DiscardBatchException is thrown to handle these response codes. https://github.com/newrelic/newrelic-telemetry-sdk-java/blob/60fb68d4793da37b55d47b342c62f9c7f962ed13/telemetry-core/src/main/java/com/newrelic/telemetry/transport/BatchDataSender.java#L167

Also, is there a New Relic validation endpoint that can be accessed to test validity of credentials while accessing New Relic?

(Migrate to Jira)

Sidburse avatar May 11 '22 10:05 Sidburse