Skip to content

Support for providing ExceptionTelemetry without actual/original exception object? #498

@sopelt

Description

@sopelt

Hello, I was wondering if AI could provide support for tracking exceptions (creating an exception telemetry/exception details) without having the actual exception object instance. When using AI in different layers of an app (asp.net (core), JS ...) and adding a small IoT component it would be nice to unify the logs in a central system (AI).
This could work by serializing traces and exceptions, sending them to a blob/webapp/function/... and moving them to AI from there.
As ExceptionTelemetry requires an exception one could implement an exception type that just provides the serialized message and stacktrace but that loses the exception type.

Having a proper API for this use case (without exposing ExceptionDetails?) could be interesting if other people face this use-case as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions