Tag Repo metrics by source
This commit is contained in:
@@ -29,21 +29,24 @@ defmodule MusicLibraryWeb.Telemetry do
|
|||||||
description: "The sum of the other measurements",
|
description: "The sum of the other measurements",
|
||||||
reporter_options: [
|
reporter_options: [
|
||||||
nav: "Repo"
|
nav: "Repo"
|
||||||
]
|
],
|
||||||
|
tags: [:source]
|
||||||
),
|
),
|
||||||
summary("music_library.repo.query.query_time",
|
summary("music_library.repo.query.query_time",
|
||||||
unit: {:native, :millisecond},
|
unit: {:native, :millisecond},
|
||||||
description: "The time spent executing the query",
|
description: "The time spent executing the query",
|
||||||
reporter_options: [
|
reporter_options: [
|
||||||
nav: "Repo"
|
nav: "Repo"
|
||||||
]
|
],
|
||||||
|
tags: [:source]
|
||||||
),
|
),
|
||||||
summary("music_library.repo.query.queue_time",
|
summary("music_library.repo.query.queue_time",
|
||||||
unit: {:native, :millisecond},
|
unit: {:native, :millisecond},
|
||||||
description: "The time spent waiting for a database connection",
|
description: "The time spent waiting for a database connection",
|
||||||
reporter_options: [
|
reporter_options: [
|
||||||
nav: "Repo"
|
nav: "Repo"
|
||||||
]
|
],
|
||||||
|
tags: [:source]
|
||||||
),
|
),
|
||||||
|
|
||||||
# Oban
|
# Oban
|
||||||
|
|||||||
Reference in New Issue
Block a user