Plugins are sending huge run time stack trace to pagerduty and to slack

Hello,
I’m using binary go lang plugins, these plugins are sending huge run time stack trace to pagerduty and to slack. like below:
version: sensuctl version 5.21.5+oss_el7+ce, community edition, built 2021-05-11, built with go1.15.5

Can we restrict this behaviour and configure such that it should not send runtime stack and only send brief error?

node-name : fatal error: runtime: out of memory
runtime stack:
runtime.throw(0x55cdaf, 0x16)
/opt/go/src/runtime/panic.go:608 +0x72 fp=0x7ffefe9bd1b0 sp=0x7ffefe9bd180 pc=0x429722
runtime.sysMap(0xc000000000, 0x4000000, 0x67d018)
/opt/go/src/runtime/mem_linux.go:156 +0xc7 fp=0x7ffefe9bd1f0 sp=0x7ffefe9bd1b0 pc=0x415c97
runtime.(*mheap).sysAlloc(0x664960, 0x4000000, 0x0, 0x0)
/opt/go/src/runtime/malloc.go:619 +0x1c7 fp=0x7ffefe9bd278 sp=0x7ffefe9bd1f0 pc=0x40a497
runtime.(*mheap).grow(0x664960, 0x1, 0x0)
/opt/go/src/runtime/mheap.go:920 +0x42 fp=0x7ffefe9bd2d0 sp=0x7ffefe9bd278 pc=0x421f92
runtime.(*mheap).allocSpanLocked(0x664960, 0x1, 0x67d028, 0x0)
/opt/go/src/runtime/mheap.go:848 +0x337 fp=0x7ffefe9bd310 sp=0x7ffefe9bd2d0 pc=0x421e17
runtime.(*mheap).alloc_m(0x664960, 0x1, 0x2a, 0x0)
/opt/go/src/runtime/mheap.go:692 +0x119 fp=0x7ffefe9bd350 sp=0x7ffefe9bd310 pc=0x421629
runtime.(*mheap).alloc.func1()
/opt/go/src/runtime/mheap.go:759 +0x4c fp=0x7ffef

Kindly please help!

It looks like your CLI is a pretty old version. Sensu Go 5.21 was released in June 2020. What version is your sensu-backend?

If you can access the Sensu Backend node, you can run the command:

$ sensu-backend version 

The latest version backend looks like this:

6.5.4+ee, enterprise edition, build 17bff5d44e20571df95270d1a81367dc064bc097, built 2021-10-30T21:54:05Z, built with go1.17.1

Hi @calebhailey ,

Thanks for your response.
This is the version I’m using:
sensu-backend version 5.21.5+oss_el7+ce, community edition, built 2021-05-11, built with go1.15.5

Please help!