Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Allow Blacklisting Channel Receive Events #231

Open
ashutoshrishi opened this issue Sep 26, 2017 · 1 comment
Open

Allow Blacklisting Channel Receive Events #231

ashutoshrishi opened this issue Sep 26, 2017 · 1 comment

Comments

@ashutoshrishi
Copy link

I can see the option for blacklisting certain Controller actions. How can this be used to blacklist the channel messages (all or specific messages). We have high volumes of messages flowing through the channel, which is just noise in the log.

Is it possible to either:

  1. Blacklist certain message types in the Channel
  2. Limit the Phoenix Instrumentation to only the controllers

In the case of option 2, will the blacklist option look like:

config :timber, Timber.Integrations.PhoenixInstrumenter,
  controller_actions_blacklist: [
    {App.RoomChannel, :handle_in}
  ]
@DavidAntaramian DavidAntaramian changed the title [Phoenix Instrumentation] Blacklist specific Channel Receive Events Allow Blacklisting Channel Receive Events Sep 26, 2017
@DavidAntaramian
Copy link
Contributor

@ashutoshrishi Blacklisting only applies to controller actions at this time, not to channel events. We'll consider adding this as a new feature. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants