Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dex: 🧮 shift dex buckets over by a factor of 1000 #4530

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions crates/core/component/dex/src/component/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ pub fn register_metrics() {
// These values may need to be updated over time.
// These values are logarithmically spaced from 5ms to 250ms.
pub const DEX_BUCKETS: &[f64; 16] = &[
5.,
6.48985018,
8.42363108,
10.93362074,
14.19151211,
18.42015749,
23.90881249,
31.03292223,
40.2798032,
52.28197763,
67.86044041,
88.08081833,
114.32626298,
148.39206374,
192.6084524,
250.,
0.005,
0.00648985018,
0.00842363108,
0.01093362074,
0.01419151211,
0.01842015749,
0.02390881249,
0.03103292223,
0.0402798032,
0.05228197763,
0.06786044041,
0.08808081833,
0.11432626298,
0.14839206374,
0.1926084524,
0.250,
];

pub const DEX_PATH_SEARCH_DURATION: &str = "penumbra_dex_path_search_duration_seconds";
Expand Down
Loading