ghenry
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.
First Post!
ghenry
Popular in Questions
Other popular topics
Latest Phoenix Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security










