Instead of configuring default tags or custom metadata in multiple places (like in the ApplicationController or ApplicationJob or in other places) via Appsignal.add_tags(foo: 1, bar: 2), allow them to be configured via the config:
Appsignal.configure do |config|
# can be either a static hash or computed dynamically
config.tags = lambda do |error|
{ ... }
end
end
For example, similar to how its done by raygun https://github.com/MindscapeHQ/raygun4ruby?tab=readme-ov-file#tags