We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have two sqlalchemy engines. One for write operations and one for read only operations.
I am wonder how to instrument two sqlalchemy engines at the same time.
When I called SQLAlchemyInstrumentor().instrument() method for each engine as shown below, spans for the second called engine are not created.
write_engine = create_async_engine("postgresql://write-endpoint") read_engine = create_async_engine("postgresql://read-endpoint") SQLAlchemyInstrumentor().instrument(engine=write_engine.sync_engine) SQLAlchemyInstrumentor().instrument(engine=read_engine.sync_engine)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I have two sqlalchemy engines. One for write operations and one for read only operations.
I am wonder how to instrument two sqlalchemy engines at the same time.
When I called SQLAlchemyInstrumentor().instrument() method for each engine as shown below, spans for the second called engine are not created.
The text was updated successfully, but these errors were encountered: