Skip to content

Commit 92b3385

Browse files
ChibaDaigobyroot
authored andcommitted
add note of query_log_tags_enabled
1 parent 7492a49 commit 92b3385

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/source/debugging_rails_applications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ To enable, add in `application.rb` or any environment initializer:
264264
config.active_record.query_log_tags_enabled = true
265265
```
266266

267+
NOTE: Enabling Query tags automatically disables prepared statements, because it makes most queries unique.
268+
267269
By default the name of the application, the name and action of the controller, or the name of the job are logged. The
268270
default format is [SQLCommenter](https://open-telemetry.github.io/opentelemetry-sqlcommenter/). For example:
269271

0 commit comments

Comments
 (0)