Add telemetry for Markdown rendering

This commit is contained in:
Claudio Ortolina
2026-03-06 20:27:58 +00:00
parent effcc3966c
commit 97f4267c5e
2 changed files with 18 additions and 3 deletions
+6
View File
@@ -151,6 +151,12 @@ defmodule MusicLibraryWeb.Telemetry do
reporter_options: [nav: "LiveView"]
),
# Markdown Processing Metrics
summary("markdown.to_html.stop.duration",
unit: {:native, :millisecond},
reporter_options: [nav: "Markdown"]
),
# VM Metrics
summary("vm.memory.total", unit: {:byte, :megabyte}),
summary("vm.total_run_queue_lengths.total"),