Skip to content

Commit

Permalink
Modify policy interval
Browse files Browse the repository at this point in the history
  • Loading branch information
kimhanbeom committed Dec 7, 2023
1 parent 64e60a3 commit dde7275
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/graphql/sampling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ pub(super) struct SamplingPolicyMutation;
#[derive(Clone, Copy, Eq, PartialEq, Enum, Deserialize, Serialize)]
#[repr(u32)]
pub(super) enum Interval {
FiveMinutes = 0,
TenMinutes = 1,
FifteenMinutes = 2,
ThirtyMinutes = 3,
OneHour = 4,
FifteenSeconds = 0,
ThirtySeconds = 1,
OneMinutes = 2,
FiveMinutes = 3,
TenMinutes = 4,
FifteenMinutes = 5,
ThirtyMinutes = 6,
OneHour = 7,
}

impl Default for Interval {
Expand Down

0 comments on commit dde7275

Please sign in to comment.