Tips for Finch, Telemetry, and Phoenix Live Dashboard (opens in new tab)
From Posts on Claudio Ortolina: While working on The Finch HTTP client , which made it very easy to display them via . Starting from the stock TuneWeb.Telemetry file generated by Phoenix (see ), I just added two new summary metrics to the metrics/0 function: summary("vm.total_run_queue_lengths.io"), # HTTP summary("finch.request.stop.duration", unit: {:native, :millisecond}, tags: [:path]), summary("finch.response.stop.duration", unit: {:native, :millisecond}, tags: [:path]) ] With this chang...
Read the original article