projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33243c5
)
Fix buckets for query timing
author
Tim Buchwaldt
<tim@buchwaldt.ws>
Sat, 12 Nov 2022 10:23:44 +0000
(11:23 +0100)
committer
FloatingGhost
<hannah@coffee-and-dreams.uk>
Thu, 15 Dec 2022 01:04:56 +0000
(
01:04
+0000)
lib/pleroma/web/telemetry.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/telemetry.ex
b/lib/pleroma/web/telemetry.ex
index f7e9d5ca747fbebf34b559ebf7596f631ec4e722..546c39f05b4578ee4d5dca4dd928c3ef6108ddd4 100644
(file)
--- a/
lib/pleroma/web/telemetry.ex
+++ b/
lib/pleroma/web/telemetry.ex
@@
-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, 1
0]
+ buckets: [0.
1, 0.2, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500, 100
0]
]
),
@@
-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, 1
0]
+ buckets: [0.
1, 0.2, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500, 100
0]
]
),
distribution(