Fix buckets for query timing
This commit is contained in:
parent
33243c56e5
commit
1e9c2cd8ef
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ defmodule Pleroma.Web.Telemetry do
|
||||||
unit: {:native, :second},
|
unit: {:native, :second},
|
||||||
tags: [:route],
|
tags: [:route],
|
||||||
reporter_options: [
|
reporter_options: [
|
||||||
buckets: [0.01, 0.025, 0.05, 0.1, 0.2, 0.5, 1, 2.5, 5, 10]
|
buckets: [0.1, 0.2, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500, 1000]
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ defmodule Pleroma.Web.Telemetry do
|
||||||
measurement: :total_time,
|
measurement: :total_time,
|
||||||
unit: {:native, :millisecond},
|
unit: {:native, :millisecond},
|
||||||
reporter_options: [
|
reporter_options: [
|
||||||
buckets: [0.01, 0.025, 0.05, 0.1, 0.2, 0.5, 1, 2.5, 5, 10]
|
buckets: [0.1, 0.2, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500, 1000]
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
distribution(
|
distribution(
|
||||||
|
|
Loading…
Reference in a new issue