Skip to content

Add optional FLT trace analysis to perf_sql scene - #1258

Open
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-375-perf-sql-trace
Open

Add optional FLT trace analysis to perf_sql scene#1258
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-375-perf-sql-trace

Conversation

@wayyoungboy

Copy link
Copy Markdown
Member

Summary

  • support --env need_trace=True in observer.perf_sql
  • run FLT trace analysis for the same trace ID and store it under the perf_sql report directory
  • keep default behavior unchanged when need_trace is not enabled

Fixes #375

Verification

  • PYTHONPATH=. python -m pytest test/gather/test_perf_sql_need_trace.py test/common/test_scene.py -q
  • black --check -S -l 256 plugins/gather/tasks/observer/perf_sql.py test/gather/test_perf_sql_need_trace.py
  • python workflow_data/check_py_files.py .
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 慢SQL问题分析的时候期望组合Plan Monitor Report 报告 + 全链路信息的内容

1 participant