dbresolver icon indicating copy to clipboard operation
dbresolver copied to clipboard

For Read/Write splitting, allow logging of which DSN each query goes to

Open gcaragea opened this issue 3 years ago • 3 comments

Describe the feature

I am using the Read/Write splitting feature. I would like to log for each query which DSN it goes to (or at least if it goes to a source or replica).

Motivation

This would be used for troubleshooting failed or slow DB instances, and for testing.

Related Issues

N/A.

gcaragea avatar Jun 10 '22 22:06 gcaragea

+1

seon1-kim avatar Aug 11 '22 03:08 seon1-kim

+1 @jinzhu

JellyZero avatar Sep 06 '22 13:09 JellyZero

+1

santiago-correa-asapp avatar Sep 23 '22 17:09 santiago-correa-asapp

+1

jasonzbao avatar Nov 16 '22 01:11 jasonzbao