Closed
Description
openedon Sep 28, 2018
Going through the changelogs of recent versions I found that support for multiple AR databases is now supported out of the box! 🎉
I tried to change our setup which was based on span preprocessors to use the new databases:
option when configuring Rails. Unfortunately, I was not able to get it to work and everything was tracked in the database service specified as database_service
.
My configuration was something like this:
c.use :rails,
database_service: 'main-db',
databases: {
archive: { service_name: 'archive-db' },
follower: { service_name: 'follower-db' }
}
I tried to find how databases:
is applied but I was not able to find the right spot. (I was mainly looking at framework.rb)
Would you be able to give me a hint where I can follow-up to get this working? Thanks a lot in advance and great work on the rapid pace of new features!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment