Skip to content

Commit

Permalink
[EASY] Auction update metric buckets adjustments (#3034)
Browse files Browse the repository at this point in the history
Adjusts auction update metrics buckets for better evaluation.
  • Loading branch information
squadgazzz authored Oct 2, 2024
1 parent 7229d93 commit c34f150
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion crates/autopilot/src/solvable_orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,18 @@ pub struct Metrics {
auction_update: IntCounterVec,

/// Time taken to update the solvable orders cache.
#[metric(buckets(
0.1, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.25, 2.5, 2.75, 3.0, 3.5, 4, 5
))]
auction_update_total_time: Histogram,

/// Time spent on auction update individual stage.
#[metric(labels("stage"))]
#[metric(
labels("stage"),
buckets(
0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0, 3.5, 4.0, 5.0
)
)]
auction_update_stage_time: HistogramVec,

/// Auction creations.
Expand Down

0 comments on commit c34f150

Please sign in to comment.