Swoosh Metrics on LiveDashboard

Hi all,

I’m following this Swoosh.Mailer — Swoosh v1.7.0
and have added these to telemetry.ex Phoenix app:

      # Swoosh Metrics
      summary("swoosh.deliver.stop",
        unit: {:native, :millisecond},
        description: "Number of successful deliveries"
      ),
      summary("swoosh.deliver.exception",
        unit: {:native, :millisecond},
        description: "Number of failed deliveries"
      ),
      summary("swoosh.deliver_many.stop",
        unit: {:native, :millisecond},
        description: "Number of successful deliveries"
      ),
      summary("swoosh.deliver_many.exception",
        unit: {:native, :millisecond},
        description: "Number of failed deliveries"
      ),

but nothing is showing when I test some emails. I am getting the emails. Where should I look to check telemetry data is being generated? What other docs should I read or examples?

I’m new to Phoenix (and Elixir) and wondered how you’d switch on “debug” mode for modules etc. so I could see Swoosh speaking to SendGrid as I’ve configured it to:

I’m following Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript by Bruce A. Tate and Sophie DeBenedetto and am on P60 at the moment.

Thanks,
Gavin.

Any ideas?