Enum promql::Op
[−]
[src]
pub enum Op { Pow(Option<OpMod>), Mul(Option<OpMod>), Div(Option<OpMod>), Mod(Option<OpMod>), Plus(Option<OpMod>), Minus(Option<OpMod>), Eq(bool, Option<OpMod>), Ne(bool, Option<OpMod>), Lt(bool, Option<OpMod>), Gt(bool, Option<OpMod>), Le(bool, Option<OpMod>), Ge(bool, Option<OpMod>), And(Option<OpMod>), Unless(Option<OpMod>), Or(Option<OpMod>), }
PromQL operators
Variants
Pow(Option<OpMod>)
^
Mul(Option<OpMod>)
*
Div(Option<OpMod>)
/
Mod(Option<OpMod>)
%
Plus(Option<OpMod>)
+
Minus(Option<OpMod>)
-
Eq(bool, Option<OpMod>)
==
, with optional bool
modifier in addition to regular operator modifiers
Ne(bool, Option<OpMod>)
!=
, with optional bool
modifier in addition to regular operator modifiers
Lt(bool, Option<OpMod>)
<
, with optional bool
modifier in addition to regular operator modifiers
Gt(bool, Option<OpMod>)
>
, with optional bool
modifier in addition to regular operator modifiers
Le(bool, Option<OpMod>)
<=
, with optional bool
modifier in addition to regular operator modifiers
Ge(bool, Option<OpMod>)
>=
, with optional bool
modifier in addition to regular operator modifiers
And(Option<OpMod>)
and
Unless(Option<OpMod>)
unless
Or(Option<OpMod>)
or