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

Change events.ignored array configuration setting to allow objects #569

Open
roelbondoc opened this issue Jun 19, 2024 · 0 comments · May be fixed by #570
Open

Change events.ignored array configuration setting to allow objects #569

roelbondoc opened this issue Jun 19, 2024 · 0 comments · May be fixed by #570

Comments

@roelbondoc
Copy link
Member

Currently you can configure the gem to ignore an event_type like this:

events:
  ignore:
    - 'sql.active_record'

By allowing objects in the array, we can allow for a bit more advance filtering:

events:
  ignore:
    - event_type: 'sql.active_record'
      query: !ruby/regex '/solid_queue/i'

This will also open up the possibilities to have a list of default events to ignore that matches a specific pattern, just like how we have a list of default exceptions to ignore.

@roelbondoc roelbondoc changed the title Allow events.ignored array configuration setting to allow objects Change events.ignored array configuration setting to allow objects Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant