Fix buckets for query timing

This commit is contained in:
Tim Buchwaldt 2022-11-12 11:23:44 +01:00 committed by FloatingGhost
parent 33243c56e5
commit 1e9c2cd8ef

View file

@ -37,7 +37,7 @@ defmodule Pleroma.Web.Telemetry do
unit: {:native, :second},
tags: [:route],
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,
unit: {:native, :millisecond},
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(