Fix buckets for query timing
This commit is contained in:
parent
33243c56e5
commit
1e9c2cd8ef
|
@ -37,7 +37,7 @@ def metrics 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 @@ def metrics 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