Expose scrobble rules telemetry
This commit is contained in:
@@ -183,6 +183,17 @@ defmodule MusicLibraryWeb.Telemetry do
|
|||||||
reporter_options: [nav: "Image Processing"]
|
reporter_options: [nav: "Image Processing"]
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Scrobble Rules Metrics
|
||||||
|
summary("music_library.scrobble_rules.apply_all_rules.stop.duration",
|
||||||
|
unit: {:native, :millisecond},
|
||||||
|
tags: [:scrobble_track_count],
|
||||||
|
reporter_options: [nav: "Scrobble Rules"]
|
||||||
|
),
|
||||||
|
counter("music_library.scrobble_rules.apply_all_rules.exception.duration",
|
||||||
|
tags: [:scrobble_track_count],
|
||||||
|
reporter_options: [nav: "Scrobble Rules"]
|
||||||
|
),
|
||||||
|
|
||||||
# VM Metrics
|
# VM Metrics
|
||||||
summary("vm.memory.total", unit: {:byte, :megabyte}),
|
summary("vm.memory.total", unit: {:byte, :megabyte}),
|
||||||
summary("vm.total_run_queue_lengths.total"),
|
summary("vm.total_run_queue_lengths.total"),
|
||||||
|
|||||||
Reference in New Issue
Block a user