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
Hello, at work we are using trace explorer in one of our Ruby on Rails apps. It is quite useful. However, the stacktraces for each span are shown as json objects in the span's Attributes tab, rather than in the actual Stacktraces tab.
Currently, to find the line of our app code that generated the span, we have to copy/paste the stacktrace json out and run it through a tool like jq.
Is it possible to configure the library to populate the Stacktraces tab in the UI instead of using a label on the span? I'm prepared to believe I'm just misconfiguring the library somehow :-)
If it is not possible to populate the Stacktraces tab, are there plans to update this? Do you accept pull requests?
Thanks!
The text was updated successfully, but these errors were encountered:
scrooloose
changed the title
Add support for stacktraces that appear in the "Stacktraces" tab in trace explorer
trace explorer: Add support for stacktraces that appear in the "Stacktraces" tab in trace explorer
Aug 21, 2024
After some further investigation, it looks like the google-cloud-trace gem has two version specific companion gems (v1 and v2), and it looks like the base gem is hardcoded to use v1? Is this correct? Can it be configured to use v2 or is that simply not possible at this stage?
Hello, at work we are using trace explorer in one of our Ruby on Rails apps. It is quite useful. However, the stacktraces for each span are shown as json objects in the span's
Attributes
tab, rather than in the actualStacktraces
tab.Currently, to find the line of our app code that generated the span, we have to copy/paste the stacktrace json out and run it through a tool like
jq
.I notice that the library is just setting the stacktrace as a label on the span, but it looks the API to create spans does have a place to put proper stacktraces? https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces.spans/createSpan.
First question:
Stacktraces
tab in the UI instead of using a label on the span? I'm prepared to believe I'm just misconfiguring the library somehow :-)Stacktraces
tab, are there plans to update this? Do you accept pull requests?Thanks!
The text was updated successfully, but these errors were encountered: