Skip to content

Conversation

@Oscarcheng0312
Copy link
Contributor

@Oscarcheng0312 Oscarcheng0312 commented Aug 21, 2025

Ⅰ. Describe what this PR did

This PR adds SQL execution monitoring capabilities into the rm-datasource module.
It instruments the following classes to capture SQL execution metrics and events:

  • AbstractConnectionProxy
  • DataSourceManager
  • DataSourceProxy
  • PreparedStatementProxy
  • StatementProxy

With this change, SQL execution details can be collected and later consumed by monitoring components.

Ⅱ. Does this pull request fix one issue?

No, this is a new feature for GSoC

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Some files (e.g., PoolManager, SqlMonitor, ConnectionPoolMetrics) appear as changed here because they were introduced in my previous PR (#7556), which is not yet merged.

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.

1 participant