We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c9c23 commit d5d7b74Copy full SHA for d5d7b74
scouterx/netio/tcpclient/handlers.go
@@ -220,10 +220,13 @@ func GetGoroutineDetail(param netdata.Pack) *netdata.MapPack {
220
221
paramPack, ok := param.(*netdata.MapPack);
222
if !ok {
223
+ p.Put("Stack Trace", "[info] scouter request param error.");
224
return p
225
}
- tctx := tctxmanager.GetTraceContextByTxid(paramPack.GetInt64("txid"))
226
+ txid := paramPack.GetInt64("txid")
227
+ tctx := tctxmanager.GetTraceContextByTxid(txid)
228
if tctx == nil {
229
+ p.Put("Stack Trace", "[info] no traceContext. txid:" + util.IntToXlogString32(txid))
230
231
232
goid := tctx.Goid
0 commit comments