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

Allow Blacklisting Channel Receive Events #231

@ashutoshrishi

Description

@ashutoshrishi

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}
  ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions