Closed asegurola closed 1 year ago
@asegurola let me check it from our side.
@asegurola In our system, stack traces are stored as blobs. This means that they are stored as binary data rather than as text. When viewing stack traces, users can check the UI to view them.
Got it, so to view the actual stacktrace I need to go throw the web UI since it's not exposed in the NRQL query response. Thanks.
Happening in version 1.0.4, it's an iOS-only bug.
When calling recordError() with a stacktrace on iOS the data doesn't seem to get to the newrelic portal. It's either not getting to the newrelic servers or I am failing to find it anywhere. When I execute a query like:
I see exceptions from today from my testing but none of those entries have any "stacktrace" column.
I believe that it might be related to this piece of code here:
SwiftNewrelicMobilePlugin.swift
This piece of swift code sends a list of maps as an attribute called
stackTraceElements
but I can't find that with an NRQL query even though I see the handledException entry, there is no "stacktrace" data.Looking at the dart code that calls this recordError() method there is also a plan
stackTrace
parameter send to the iOS module from the dart runtime. If I use that instead ofstackTraceElements
and the thatstackTrace
string as an attribute it seems to work. Although I had to send it with a different name for it to show up. Something likeflutterStackTrace
.