Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine programmatically what replica a request is using #385

Open
dvandersluis opened this issue Jan 4, 2024 · 0 comments
Open

Determine programmatically what replica a request is using #385

dvandersluis opened this issue Jan 4, 2024 · 0 comments

Comments

@dvandersluis
Copy link

I couldn't find anything in the documentation or code so my apologies if I've overlooked something, but is there a way to determine programmatically what specific database connection is used for a query and/or Rails request? We would like to be able to tag data surfaced in our error tracker with database connection information but I have not found a way to do so yet.

Any help would be appreciated!

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

No branches or pull requests

1 participant