Swoosh Metrics on LiveDashboard

Hi all,

I’m following this Swoosh.Mailer — Swoosh v1.26.2
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:

https://github.com/ghenry/pento/commit/1cb6e627b5e8d57838eade7f1e5370006710cfa5
https://github.com/ghenry/pento/commit/a392b2bbd2168f802bf3463f2025636c503f6f8c

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.