basecamp / basecamp/marginalia
How do I ignore certain queries?
Open
- Dominant language
- Ruby
- Stars
- 1.8k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
I have a lot of logs where I see comments for statements like `BEGIN` and `COMMIT` which I want to disable for performance reasons. e.g
```
BEGIN /*hostname:MY_APPLICATION_NAME,context:CUSTOM CONTEXT*/
```
Is there a way to disable marginalia comments for certain queries?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no file or test entry point; begin by locating the Ruby/ActiveRecord integration that adds Marginalia comments and reproduce the BEGIN and COMMIT examples. Done should be a documented, tested way to exclude selected queries without disabling comments for other SQL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100