Skip to content

TelemetryClient.trackException not pushing data to AI  #502

@SaiVikas-Dharmaraju

Description

@SaiVikas-Dharmaraju

Hi,

The following piece of code use to work prior to 1.0.9 SDK, but from 1.0.10 it doesn't push the exception telemetry

Snippet:

exception = (throwable instanceof Exception) ? (Exception)throwable : new Exception(throwable);
ExceptionTelemetry exceptionTelemetry = new ExceptionTelemetry(exception);
exceptionTelemetry.setSeverityLevel(getAISeverityLevel(event));
exceptionTelemetry.getContext().getProperties().put(MSG_LABEL, formattedMessage);
client.trackException(exceptionTelemetry);

Did anything change in the underlying SDK implementation that stops pushing telemetry this way??

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions