dm
dm copied to clipboard
Database connection number monitoring
Feature Request
Is your feature request related to a problem? Please describe:
https://github.com/pingcap/dm/issues/2127
Describe the feature you'd like:
- Monitor the number of connections to upstream and downstream per worker
- Exceeds set value (currently 1 connection?) Alarm
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
related to https://github.com/pingcap/dm/issues/2142
~~maybe we can use this package ? https://github.com/dlmiddlecote/sqlstats~~
wow, prometheus_client_golang already Implemented this feature in https://github.com/prometheus/client_golang/pull/866
cc @lance6716 @lichunzhu