IBM/aiu-trace-analyzer

Include accumulated warnings into output file(s)

開放

#113 建立於 2026年6月18日

 (0 則留言) (0 個反應) (0 位負責人)Python (7 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (12 顆星)
PR 合併指標
 (平均合併 6天 3小時) (30 天內合併 4 個 PR)

描述

It could be useful to add a section to the exported json metadata that holds info about problems that had been detected during processing.

In some use cases, the cmdline/console output is either being ignored or drowned in too much other output that important warnings about the trace data disappear into the aether.

Proposing something like this to be added to the output json:

{
  "otherData": {
     ...
     "issues": {
        "<warning_class1>": "reported_string/data",
        "<warning_class2>": "reported_string/data",
         ...
     }
  }
}

One approach (preferred) could be to make use of the TraceWarning class and adjust the exporter such that active trace warnings would be exported into the output json.

貢獻者指南