I am working on project that have HTTP API that is using actix web (with tokio async). I enabled debug=line-tables-only to get line numbers on stacktrace. The goal is to be able to debug panic easily when it happened on prod (log is sent to datadog)
However this changes caused the stacktraces to blow up to 260kb, due to a lot of async tokio on actix web layer that happened above (i.e callers of) main.rs. Are there a way to filter out such stacktraces from that layer? i.e before main.rs, ignore.
Hi
I am working on project that have HTTP API that is using actix web (with tokio async). I enabled debug=
line-tables-only
to get line numbers on stacktrace. The goal is to be able to debug panic easily when it happened on prod (log is sent to datadog)Changes
Before
However this changes caused the stacktraces to blow up to 260kb, due to a lot of async tokio on actix web layer that happened above (i.e callers of)
main.rs
. Are there a way to filter out such stacktraces from that layer? i.e before main.rs, ignore.